Révision 780f632a doc/sphinx_doc/rref.rst

b/doc/sphinx_doc/rref.rst
281 281
    }
282 282
    print(align_inter_strain_nucs(replicates))
283 283

  
284
R: Launch DESeq methods.
284
R: Compute the list of SNEPs for a given set of marker, strain...
285 285

  
286
Launch DESeq methods.
287
---------------------
286
Compute the list of SNEPs for a given set of marker, strain combination and nuc form.
287
-------------------------------------------------------------------------------------
288 288

  
289 289
Description
290 290
~~~~~~~~~~~
291 291

  
292
This function is based on DESeq example. It normalizes data, fit data to
293
GLM model with and without interaction term and compares the two models.
292
This function uses
294 293

  
295 294
Usage
296 295
~~~~~
297 296

  
298 297
::
299 298

  
300
    analyse_design(snep_design, reads)
299
    analyse_count_table(marker, combi, form, all_samples, 
300
        FDR = 1e-04, config = NULL)
301 301

  
302 302
Arguments
303 303
~~~~~~~~~
304 304

  
305
``snep_design``
305
``marker``
306

  
307
The marker involved.
308

  
309
``combi``
306 310

  
307
The design to consider.
311
The strain combination involved.
308 312

  
309
``reads``
313
``form``
314

  
315
the nuc form involved.
316

  
317
``all_samples``
318

  
319
Global list of samples.
320

  
321
``FDR``
310 322

  
311
The data to consider.
323
``config``
324

  
325
GLOBAL config variable
312 326

  
313 327
Author(s)
314 328
~~~~~~~~~
315 329

  
316 330
Florent Chuffart
317 331

  
332
Examples
333
~~~~~~~~
334

  
335
::
336

  
337
    marker = "H3K4me1"
338
    combi = c("BY", "YJM")
339
    form = "wpunr" # "wp" | "unr" | "wpunr"
340
    # foo = analyse_count_table(marker, combi, form)
341
    # foo = analyse_count_table("H4K12ac", c("BY", "RM"), "wp")
342

  
318 343
R: Build count table for a set of samples.
319 344

  
320 345
Build count table for a set of samples.
......
330 355

  
331 356
::
332 357

  
333
    build_count_table(marker, combi, form, curs, config = NULL)
358
    build_count_table(marker, combi, form, curs, all_samples, 
359
        config = NULL)
334 360

  
335 361
Arguments
336 362
~~~~~~~~~
......
352 378

  
353 379
The list of CURs
354 380

  
381
``all_samples``
382

  
383
A table that describe all our samples.
384

  
355 385
``config``
356 386

  
357 387
GLOBAL config variable.
......
590 620

  
591 621
::
592 622

  
593
    compute_inter_all_strain_curs(diff_allowed = 30, min_cur_width = 4000, 
623
    compute_curs(diff_allowed = 30, min_cur_width = 4000, 
594 624
        combis = list(c("BY", "RM"), c("BY", "YJM"), c("RM", 
595 625
            "YJM")), config = NULL)
596 626

  
......
1184 1214

  
1185 1215
Florent Chuffart
1186 1216

  
1187
R: Compute the list of SNEPs for a given set of marker, strain...
1188

  
1189
Compute the list of SNEPs for a given set of marker, strain combination and nuc form.
1190
-------------------------------------------------------------------------------------
1191

  
1192
Description
1193
~~~~~~~~~~~
1194

  
1195
This function uses
1196

  
1197
Usage
1198
~~~~~
1199

  
1200
::
1201

  
1202
    get_sneps(marker, combi, form, all_samples, FDR = 1e-04, 
1203
        config = NULL)
1204

  
1205
Arguments
1206
~~~~~~~~~
1207

  
1208
``marker``
1209

  
1210
The marker involved.
1211

  
1212
``combi``
1213

  
1214
The strain combination involved.
1215

  
1216
``form``
1217

  
1218
the nuc form involved.
1219

  
1220
``all_samples``
1221

  
1222
Global list of samples.
1223

  
1224
``FDR``
1225

  
1226
``config``
1227

  
1228
GLOBAL config variable
1229

  
1230
Author(s)
1231
~~~~~~~~~
1232

  
1233
Florent Chuffart
1234

  
1235
Examples
1236
~~~~~~~~
1237

  
1238
::
1239

  
1240
    marker = "H3K4me1"
1241
    combi = c("BY", "YJM")
1242
    form = "wpunr" # "wp" | "unr" | "wpunr"
1243
    # foo = get_sneps(marker, combi, form)
1244
    # foo = get_sneps("H4K12ac", c("BY", "RM"), "wp")
1245

  
1246 1217
R: Compute the unaligned nucleosomal regions (UNRs).
1247 1218

  
1248 1219
Compute the unaligned nucleosomal regions (UNRs).

Formats disponibles : Unified diff