Statistiques
| Branche: | Révision :

root / doc / sphinx_doc / build / text / ref.txt @ 21b8928f

Historique | Voir | Annoter | Télécharger (27,86 ko)

1 935a568c Florent Chuffart
2 935a568c Florent Chuffart
References
3 935a568c Florent Chuffart
**********
4 935a568c Florent Chuffart
5 935a568c Florent Chuffart
6 935a568c Florent Chuffart
Python Reference
7 935a568c Florent Chuffart
================
8 935a568c Florent Chuffart
9 935a568c Florent Chuffart
10 935a568c Florent Chuffart
R Reference
11 935a568c Florent Chuffart
===========
12 935a568c Florent Chuffart
13 935a568c Florent Chuffart
14 8e9facd8 Florent Chuffart
Arabic to Roman pair list.
15 8e9facd8 Florent Chuffart
--------------------------
16 8e9facd8 Florent Chuffart
17 8e9facd8 Florent Chuffart
18 8e9facd8 Florent Chuffart
Description
19 8e9facd8 Florent Chuffart
~~~~~~~~~~~
20 8e9facd8 Florent Chuffart
21 8e9facd8 Florent Chuffart
Util to convert Arabicto Roman
22 8e9facd8 Florent Chuffart
23 8e9facd8 Florent Chuffart
24 8e9facd8 Florent Chuffart
Usage
25 8e9facd8 Florent Chuffart
~~~~~
26 8e9facd8 Florent Chuffart
27 8e9facd8 Florent Chuffart
   ARAB2ROM()
28 8e9facd8 Florent Chuffart
29 8e9facd8 Florent Chuffart
30 8e9facd8 Florent Chuffart
Author(s)
31 8e9facd8 Florent Chuffart
~~~~~~~~~
32 8e9facd8 Florent Chuffart
33 8e9facd8 Florent Chuffart
Florent Chuffart
34 8e9facd8 Florent Chuffart
35 8e9facd8 Florent Chuffart
R: False Discovery Rate
36 8e9facd8 Florent Chuffart
37 8e9facd8 Florent Chuffart
38 935a568c Florent Chuffart
False Discovery Rate
39 935a568c Florent Chuffart
--------------------
40 935a568c Florent Chuffart
41 935a568c Florent Chuffart
42 935a568c Florent Chuffart
Description
43 935a568c Florent Chuffart
~~~~~~~~~~~
44 935a568c Florent Chuffart
45 935a568c Florent Chuffart
From a vector x of independent p-values, extract the cutoff
46 935a568c Florent Chuffart
corresponding to the specified FDR. See Benjamini & Hochberg 1995
47 935a568c Florent Chuffart
paper
48 935a568c Florent Chuffart
49 935a568c Florent Chuffart
50 935a568c Florent Chuffart
Usage
51 935a568c Florent Chuffart
~~~~~
52 935a568c Florent Chuffart
53 935a568c Florent Chuffart
   FDR(x, FDR)
54 935a568c Florent Chuffart
55 935a568c Florent Chuffart
56 935a568c Florent Chuffart
Arguments
57 935a568c Florent Chuffart
~~~~~~~~~
58 935a568c Florent Chuffart
59 935a568c Florent Chuffart
"x"
60 935a568c Florent Chuffart
61 935a568c Florent Chuffart
A vector x of independent p-values.
62 935a568c Florent Chuffart
63 935a568c Florent Chuffart
"FDR"
64 935a568c Florent Chuffart
65 935a568c Florent Chuffart
The specified FDR.
66 935a568c Florent Chuffart
67 935a568c Florent Chuffart
68 935a568c Florent Chuffart
Value
69 935a568c Florent Chuffart
~~~~~
70 935a568c Florent Chuffart
71 935a568c Florent Chuffart
Return the the corresponding cutoff.
72 935a568c Florent Chuffart
73 935a568c Florent Chuffart
74 935a568c Florent Chuffart
Author(s)
75 935a568c Florent Chuffart
~~~~~~~~~
76 935a568c Florent Chuffart
77 935a568c Florent Chuffart
Gael Yvert, Florent Chuffart
78 935a568c Florent Chuffart
79 935a568c Florent Chuffart
80 935a568c Florent Chuffart
Examples
81 935a568c Florent Chuffart
~~~~~~~~
82 935a568c Florent Chuffart
83 935a568c Florent Chuffart
   print("example")
84 935a568c Florent Chuffart
85 8e9facd8 Florent Chuffart
R: Roman to Arabic pair list.
86 8e9facd8 Florent Chuffart
87 8e9facd8 Florent Chuffart
88 8e9facd8 Florent Chuffart
Roman to Arabic pair list.
89 8e9facd8 Florent Chuffart
--------------------------
90 8e9facd8 Florent Chuffart
91 8e9facd8 Florent Chuffart
92 8e9facd8 Florent Chuffart
Description
93 8e9facd8 Florent Chuffart
~~~~~~~~~~~
94 8e9facd8 Florent Chuffart
95 8e9facd8 Florent Chuffart
Util to convert Roman to Arabic
96 8e9facd8 Florent Chuffart
97 8e9facd8 Florent Chuffart
98 8e9facd8 Florent Chuffart
Usage
99 8e9facd8 Florent Chuffart
~~~~~
100 8e9facd8 Florent Chuffart
101 8e9facd8 Florent Chuffart
   ROM2ARAB()
102 8e9facd8 Florent Chuffart
103 8e9facd8 Florent Chuffart
104 8e9facd8 Florent Chuffart
Author(s)
105 8e9facd8 Florent Chuffart
~~~~~~~~~
106 8e9facd8 Florent Chuffart
107 8e9facd8 Florent Chuffart
Florent Chuffart
108 8e9facd8 Florent Chuffart
109 935a568c Florent Chuffart
R: Aggregate replicated sample's nucleosomes.
110 935a568c Florent Chuffart
111 935a568c Florent Chuffart
112 935a568c Florent Chuffart
Aggregate replicated sample's nucleosomes.
113 935a568c Florent Chuffart
------------------------------------------
114 935a568c Florent Chuffart
115 935a568c Florent Chuffart
116 935a568c Florent Chuffart
Description
117 935a568c Florent Chuffart
~~~~~~~~~~~
118 935a568c Florent Chuffart
119 935a568c Florent Chuffart
This function aggregates nucleosome for replicated samples. It uses
120 935a568c Florent Chuffart
TemplateFilter ouput of each sample as replicate. Each sample owns a
121 935a568c Florent Chuffart
set of nucleosomes computed using TemplateFilter and ordered by the
122 935a568c Florent Chuffart
position of their center. Adajacent nucleosomes are compared two by
123 935a568c Florent Chuffart
two. Comparison is based on a log likelihood ratio score. The issue of
124 935a568c Florent Chuffart
comparison is adjacents nucleosomes merge or separation. Finally the
125 935a568c Florent Chuffart
function returns a list of clusters and all computed *lod_scores*.
126 935a568c Florent Chuffart
Each cluster ows an attribute *wp* for "well positionned". This
127 935a568c Florent Chuffart
attribute is set as *TRUE* if the cluster is composed of exactly one
128 935a568c Florent Chuffart
nucleosomes of each sample.
129 935a568c Florent Chuffart
130 935a568c Florent Chuffart
131 935a568c Florent Chuffart
Usage
132 935a568c Florent Chuffart
~~~~~
133 935a568c Florent Chuffart
134 21b8928f Florent Chuffart
   aggregate_intra_strain_nucs(samples, lod_thres = 20, coord_max = 2e+07)
135 935a568c Florent Chuffart
136 935a568c Florent Chuffart
137 935a568c Florent Chuffart
Arguments
138 935a568c Florent Chuffart
~~~~~~~~~
139 935a568c Florent Chuffart
140 935a568c Florent Chuffart
"samples"
141 935a568c Florent Chuffart
142 935a568c Florent Chuffart
A list of samples. Each sample is a list like *sample = list(id=...,
143 935a568c Florent Chuffart
marker=..., strain=..., roi=..., inputs=..., outputs=...)* with *roi =
144 935a568c Florent Chuffart
list(name=..., begin=..., end=..., chr=..., genome=...)*.
145 935a568c Florent Chuffart
146 935a568c Florent Chuffart
"lod_thres"
147 935a568c Florent Chuffart
148 935a568c Florent Chuffart
Log likelihood ration threshold.
149 935a568c Florent Chuffart
150 935a568c Florent Chuffart
"coord_max"
151 935a568c Florent Chuffart
152 935a568c Florent Chuffart
A too big value to be a coord for a nucleosome lower bound.
153 935a568c Florent Chuffart
154 935a568c Florent Chuffart
155 935a568c Florent Chuffart
Value
156 935a568c Florent Chuffart
~~~~~
157 935a568c Florent Chuffart
158 935a568c Florent Chuffart
Returns a list of clusterized nucleosomes, and all computed lod
159 935a568c Florent Chuffart
scores.
160 935a568c Florent Chuffart
161 935a568c Florent Chuffart
162 935a568c Florent Chuffart
Author(s)
163 935a568c Florent Chuffart
~~~~~~~~~
164 935a568c Florent Chuffart
165 935a568c Florent Chuffart
Florent Chuffart
166 935a568c Florent Chuffart
167 935a568c Florent Chuffart
168 935a568c Florent Chuffart
Examples
169 935a568c Florent Chuffart
~~~~~~~~
170 935a568c Florent Chuffart
171 935a568c Florent Chuffart
   # Dealing with a region of interest
172 935a568c Florent Chuffart
   roi =list(name="example", begin=1000,  end=1300, chr="1", genome=rep("A",301))
173 935a568c Florent Chuffart
   samples = list()
174 935a568c Florent Chuffart
   for (i in 1:3) {
175 935a568c Florent Chuffart
       # Create TF output
176 935a568c Florent Chuffart
       tf_nuc = list("chr"=paste("chr", roi$chr, sep=""), "center"=(roi$end + roi$begin)/2, "width"= 150, "correlation.score"= 0.9)
177 935a568c Florent Chuffart
       outputs = dfadd(NULL,tf_nuc)
178 935a568c Florent Chuffart
       outputs = filter_tf_outputs(outputs, roi$chr, roi$begin, roi$end)
179 935a568c Florent Chuffart
       # Generate corresponding reads
180 935a568c Florent Chuffart
       nb_reads = round(runif(1,170,230))
181 935a568c Florent Chuffart
       reads = round(rnorm(nb_reads, tf_nuc$center,20))
182 935a568c Florent Chuffart
       u_reads = sort(unique(reads))
183 935a568c Florent Chuffart
       strands = sample(c(rep("R",ceiling(length(u_reads)/2)),rep("F",floor(length(u_reads)/2))))
184 935a568c Florent Chuffart
       counts = apply(t(u_reads), 2, function(r) { sum(reads == r)})
185 935a568c Florent Chuffart
       shifts = apply(t(strands), 2, function(s) { if (s == "F") return(-tf_nuc$width/2) else return(tf_nuc$width/2)})
186 935a568c Florent Chuffart
       u_reads = u_reads + shifts
187 935a568c Florent Chuffart
       inputs = data.frame(list("V1" = rep(roi$chr, length(u_reads)),
188 935a568c Florent Chuffart
                                "V2" = u_reads,
189 935a568c Florent Chuffart
                                                        "V3" = strands,
190 935a568c Florent Chuffart
                                                        "V4" = counts), stringsAsFactors=FALSE)
191 935a568c Florent Chuffart
       samples[[length(samples) + 1]] = list(id=1, marker="Mnase_Seq", strain="strain_ex", total_reads = 10000000, roi=roi, inputs=inputs, outputs=outputs)
192 935a568c Florent Chuffart
   }
193 935a568c Florent Chuffart
   print(aggregate_intra_strain_nucs(samples))
194 935a568c Florent Chuffart
195 935a568c Florent Chuffart
R: Aligns nucleosomes between 2 strains.
196 935a568c Florent Chuffart
197 935a568c Florent Chuffart
198 935a568c Florent Chuffart
Aligns nucleosomes between 2 strains.
199 935a568c Florent Chuffart
-------------------------------------
200 935a568c Florent Chuffart
201 935a568c Florent Chuffart
202 935a568c Florent Chuffart
Description
203 935a568c Florent Chuffart
~~~~~~~~~~~
204 935a568c Florent Chuffart
205 935a568c Florent Chuffart
This function aligns nucs between two strains for a given genome
206 935a568c Florent Chuffart
region.
207 935a568c Florent Chuffart
208 935a568c Florent Chuffart
209 935a568c Florent Chuffart
Usage
210 935a568c Florent Chuffart
~~~~~
211 935a568c Florent Chuffart
212 935a568c Florent Chuffart
   align_inter_strain_nucs(replicates, wp_nucs_strain_ref1 = NULL,
213 21b8928f Florent Chuffart
       wp_nucs_strain_ref2 = NULL, corr_thres = 0.5, lod_thres = 100,
214 8e9facd8 Florent Chuffart
       config = NULL, ...)
215 935a568c Florent Chuffart
216 935a568c Florent Chuffart
217 935a568c Florent Chuffart
Arguments
218 935a568c Florent Chuffart
~~~~~~~~~
219 935a568c Florent Chuffart
220 935a568c Florent Chuffart
"replicates"
221 935a568c Florent Chuffart
222 935a568c Florent Chuffart
Set of replicates, ideally 3 per strain.
223 935a568c Florent Chuffart
224 935a568c Florent Chuffart
"wp_nucs_strain_ref1"
225 935a568c Florent Chuffart
226 935a568c Florent Chuffart
List of aggregates nucleosome for strain 1. If it's null this list
227 935a568c Florent Chuffart
will be computed.
228 935a568c Florent Chuffart
229 935a568c Florent Chuffart
"wp_nucs_strain_ref2"
230 935a568c Florent Chuffart
231 935a568c Florent Chuffart
List of aggregates nucleosome for strain 2. If it's null this list
232 935a568c Florent Chuffart
will be computed.
233 935a568c Florent Chuffart
234 935a568c Florent Chuffart
"corr_thres"
235 935a568c Florent Chuffart
236 935a568c Florent Chuffart
Correlation threshold.
237 935a568c Florent Chuffart
238 935a568c Florent Chuffart
"lod_thres"
239 935a568c Florent Chuffart
240 935a568c Florent Chuffart
LOD cut off.
241 935a568c Florent Chuffart
242 8e9facd8 Florent Chuffart
"config"
243 8e9facd8 Florent Chuffart
244 8e9facd8 Florent Chuffart
GLOBAL config variable
245 8e9facd8 Florent Chuffart
246 935a568c Florent Chuffart
"..."
247 935a568c Florent Chuffart
248 935a568c Florent Chuffart
A list of parameters that will be passed to
249 935a568c Florent Chuffart
*aggregate_intra_strain_nucs* if needed.
250 935a568c Florent Chuffart
251 935a568c Florent Chuffart
252 935a568c Florent Chuffart
Value
253 935a568c Florent Chuffart
~~~~~
254 935a568c Florent Chuffart
255 935a568c Florent Chuffart
Returns a list of clusterized nucleosomes, and all computed lod
256 935a568c Florent Chuffart
scores.
257 935a568c Florent Chuffart
258 935a568c Florent Chuffart
259 935a568c Florent Chuffart
Author(s)
260 935a568c Florent Chuffart
~~~~~~~~~
261 935a568c Florent Chuffart
262 935a568c Florent Chuffart
Florent Chuffart
263 935a568c Florent Chuffart
264 935a568c Florent Chuffart
265 935a568c Florent Chuffart
Examples
266 935a568c Florent Chuffart
~~~~~~~~
267 935a568c Florent Chuffart
268 8e9facd8 Florent Chuffart
       # Define new translate_roi function...
269 8e9facd8 Florent Chuffart
       translate_roi = function(roi, strain2, big_roi=NULL, config=NULL) {
270 8e9facd8 Florent Chuffart
         return(roi)
271 8e9facd8 Florent Chuffart
       }
272 8e9facd8 Florent Chuffart
       # Binding it by uncomment follwing lines.
273 8e9facd8 Florent Chuffart
       unlockBinding("translate_roi", as.environment("package:nucleominer"))
274 8e9facd8 Florent Chuffart
       unlockBinding("translate_roi", getNamespace("nucleominer"))
275 8e9facd8 Florent Chuffart
       assign("translate_roi", translate_roi, "package:nucleominer")
276 8e9facd8 Florent Chuffart
       assign("translate_roi", translate_roi, getNamespace("nucleominer"))
277 8e9facd8 Florent Chuffart
       lockBinding("translate_roi", getNamespace("nucleominer"))
278 8e9facd8 Florent Chuffart
       lockBinding("translate_roi", as.environment("package:nucleominer"))
279 8e9facd8 Florent Chuffart
280 935a568c Florent Chuffart
   # Dealing with a region of interest
281 935a568c Florent Chuffart
   roi =list(name="example", begin=1000,  end=1300, chr="1", genome=rep("A",301), strain_ref1 = "STRAINREF1")
282 935a568c Florent Chuffart
   roi2 = translate_roi(roi, roi$strain_ref1)
283 935a568c Florent Chuffart
   replicates = list()
284 935a568c Florent Chuffart
   for (j in 1:2) {
285 935a568c Florent Chuffart
       samples = list()
286 935a568c Florent Chuffart
       for (i in 1:3) {
287 935a568c Florent Chuffart
           # Create TF output
288 935a568c Florent Chuffart
           tf_nuc = list("chr"=paste("chr", roi$chr, sep=""), "center"=(roi$end + roi$begin)/2, "width"= 150, "correlation.score"= 0.9)
289 935a568c Florent Chuffart
           outputs = dfadd(NULL,tf_nuc)
290 935a568c Florent Chuffart
           outputs = filter_tf_outputs(outputs, roi$chr, roi$begin, roi$end)
291 935a568c Florent Chuffart
           # Generate corresponding reads
292 935a568c Florent Chuffart
           nb_reads = round(runif(1,170,230))
293 935a568c Florent Chuffart
           reads = round(rnorm(nb_reads, tf_nuc$center,20))
294 935a568c Florent Chuffart
           u_reads = sort(unique(reads))
295 935a568c Florent Chuffart
           strands = sample(c(rep("R",ceiling(length(u_reads)/2)),rep("F",floor(length(u_reads)/2))))
296 935a568c Florent Chuffart
           counts = apply(t(u_reads), 2, function(r) { sum(reads == r)})
297 935a568c Florent Chuffart
           shifts = apply(t(strands), 2, function(s) { if (s == "F") return(-tf_nuc$width/2) else return(tf_nuc$width/2)})
298 935a568c Florent Chuffart
           u_reads = u_reads + shifts
299 935a568c Florent Chuffart
           inputs = data.frame(list("V1" = rep(roi$chr, length(u_reads)),
300 935a568c Florent Chuffart
                                    "V2" = u_reads,
301 935a568c Florent Chuffart
                                                            "V3" = strands,
302 935a568c Florent Chuffart
                                                            "V4" = counts), stringsAsFactors=FALSE)
303 935a568c Florent Chuffart
           samples[[length(samples) + 1]] = list(id=1, marker="Mnase_Seq", strain=paste("strain_ex",j,sep=""), total_reads = 10000000, roi=roi, inputs=inputs, outputs=outputs)
304 935a568c Florent Chuffart
       }
305 935a568c Florent Chuffart
       replicates[[length(replicates) + 1]] = samples
306 935a568c Florent Chuffart
   }
307 935a568c Florent Chuffart
   print(align_inter_strain_nucs(replicates))
308 935a568c Florent Chuffart
309 935a568c Florent Chuffart
R: Launch deseq methods.
310 935a568c Florent Chuffart
311 935a568c Florent Chuffart
312 935a568c Florent Chuffart
Launch deseq methods.
313 935a568c Florent Chuffart
---------------------
314 935a568c Florent Chuffart
315 935a568c Florent Chuffart
316 935a568c Florent Chuffart
Description
317 935a568c Florent Chuffart
~~~~~~~~~~~
318 935a568c Florent Chuffart
319 935a568c Florent Chuffart
This function is based on deseq example. It mormalizes data, fit data
320 935a568c Florent Chuffart
to GLM model with and without interaction term and compare the two
321 935a568c Florent Chuffart
l;=models.
322 935a568c Florent Chuffart
323 935a568c Florent Chuffart
324 935a568c Florent Chuffart
Usage
325 935a568c Florent Chuffart
~~~~~
326 935a568c Florent Chuffart
327 935a568c Florent Chuffart
   analyse_design(snep_design, reads)
328 935a568c Florent Chuffart
329 935a568c Florent Chuffart
330 935a568c Florent Chuffart
Arguments
331 935a568c Florent Chuffart
~~~~~~~~~
332 935a568c Florent Chuffart
333 935a568c Florent Chuffart
"snep_design"
334 935a568c Florent Chuffart
335 935a568c Florent Chuffart
The design to considere.
336 935a568c Florent Chuffart
337 935a568c Florent Chuffart
"reads"
338 935a568c Florent Chuffart
339 935a568c Florent Chuffart
The data to considere.
340 935a568c Florent Chuffart
341 935a568c Florent Chuffart
342 935a568c Florent Chuffart
Author(s)
343 935a568c Florent Chuffart
~~~~~~~~~
344 935a568c Florent Chuffart
345 935a568c Florent Chuffart
Florent Chuffart
346 935a568c Florent Chuffart
347 8e9facd8 Florent Chuffart
R: Stage replicates data
348 8e9facd8 Florent Chuffart
349 8e9facd8 Florent Chuffart
350 8e9facd8 Florent Chuffart
Stage replicates data
351 8e9facd8 Florent Chuffart
---------------------
352 8e9facd8 Florent Chuffart
353 8e9facd8 Florent Chuffart
354 8e9facd8 Florent Chuffart
Description
355 8e9facd8 Florent Chuffart
~~~~~~~~~~~
356 8e9facd8 Florent Chuffart
357 8e9facd8 Florent Chuffart
This function loads in memory data corresponding to the given
358 8e9facd8 Florent Chuffart
experiments.
359 8e9facd8 Florent Chuffart
360 8e9facd8 Florent Chuffart
361 8e9facd8 Florent Chuffart
Usage
362 8e9facd8 Florent Chuffart
~~~~~
363 8e9facd8 Florent Chuffart
364 8e9facd8 Florent Chuffart
   build_replicates(expe, roi, only_fetch = FALSE, get_genome = FALSE,
365 8e9facd8 Florent Chuffart
       all_samples, config = NULL)
366 8e9facd8 Florent Chuffart
367 8e9facd8 Florent Chuffart
368 8e9facd8 Florent Chuffart
Arguments
369 8e9facd8 Florent Chuffart
~~~~~~~~~
370 8e9facd8 Florent Chuffart
371 8e9facd8 Florent Chuffart
"expe"
372 8e9facd8 Florent Chuffart
373 8e9facd8 Florent Chuffart
a list of vector corresponding to vector of replicates.
374 8e9facd8 Florent Chuffart
375 8e9facd8 Florent Chuffart
"roi"
376 8e9facd8 Florent Chuffart
377 8e9facd8 Florent Chuffart
the region that we are interested in.
378 8e9facd8 Florent Chuffart
379 8e9facd8 Florent Chuffart
"only_fetch"
380 8e9facd8 Florent Chuffart
381 8e9facd8 Florent Chuffart
filter or not inputs.
382 8e9facd8 Florent Chuffart
383 8e9facd8 Florent Chuffart
"get_genome"
384 8e9facd8 Florent Chuffart
385 8e9facd8 Florent Chuffart
Load or not corresponding genome.
386 8e9facd8 Florent Chuffart
387 8e9facd8 Florent Chuffart
"all_samples"
388 8e9facd8 Florent Chuffart
389 8e9facd8 Florent Chuffart
Global list of samples.
390 8e9facd8 Florent Chuffart
391 8e9facd8 Florent Chuffart
"config"
392 8e9facd8 Florent Chuffart
393 8e9facd8 Florent Chuffart
GLOBAL config variable.
394 8e9facd8 Florent Chuffart
395 8e9facd8 Florent Chuffart
396 8e9facd8 Florent Chuffart
Author(s)
397 8e9facd8 Florent Chuffart
~~~~~~~~~
398 8e9facd8 Florent Chuffart
399 8e9facd8 Florent Chuffart
Florent Chuffart
400 8e9facd8 Florent Chuffart
401 8e9facd8 Florent Chuffart
402 8e9facd8 Florent Chuffart
Examples
403 8e9facd8 Florent Chuffart
~~~~~~~~
404 8e9facd8 Florent Chuffart
405 8e9facd8 Florent Chuffart
   # library(rjson)
406 8e9facd8 Florent Chuffart
   # library(nucleominer)
407 8e9facd8 Florent Chuffart
   #
408 8e9facd8 Florent Chuffart
   # # Read config file
409 8e9facd8 Florent Chuffart
   # json_conf_file = "nucleo_miner_config.json"
410 8e9facd8 Florent Chuffart
   # config = fromJSON(paste(readLines(json_conf_file), collapse=""))
411 8e9facd8 Florent Chuffart
   # # Read sample file
412 8e9facd8 Florent Chuffart
   # all_samples = get_content(config$CSV_SAMPLE_FILE, "cvs", sep=";", head=TRUE, stringsAsFactors=FALSE)
413 8e9facd8 Florent Chuffart
   # # here are the sample ids in a list
414 8e9facd8 Florent Chuffart
   # expes = list(c(1))
415 8e9facd8 Florent Chuffart
   # # here is the region that we wnt to see the coverage
416 8e9facd8 Florent Chuffart
   # cur = list(chr="8", begin=472000, end=474000, strain_ref="BY")
417 8e9facd8 Florent Chuffart
   # # it displays the corverage
418 8e9facd8 Florent Chuffart
   # replicates = build_replicates(expes, cur, all_samples=all_samples, config=config)
419 8e9facd8 Florent Chuffart
   # out = watch_samples(replicates, config$READ_LENGTH,
420 8e9facd8 Florent Chuffart
   #       plot_coverage = TRUE,
421 8e9facd8 Florent Chuffart
   #       plot_squared_reads = FALSE,
422 8e9facd8 Florent Chuffart
   #       plot_ref_genome = FALSE,
423 8e9facd8 Florent Chuffart
   #       plot_arrow_raw_reads = FALSE,
424 8e9facd8 Florent Chuffart
   #       plot_arrow_nuc_reads = FALSE,
425 8e9facd8 Florent Chuffart
   #       plot_gaussian_reads = FALSE,
426 8e9facd8 Florent Chuffart
   #       plot_gaussian_unified_reads = FALSE,
427 8e9facd8 Florent Chuffart
   #       plot_ellipse_nucs = FALSE,
428 8e9facd8 Florent Chuffart
   #       plot_wp_nucs = FALSE,
429 8e9facd8 Florent Chuffart
   #       plot_wp_nuc_model = FALSE,
430 8e9facd8 Florent Chuffart
   #       plot_common_nucs = FALSE,
431 8e9facd8 Florent Chuffart
   #       height = 50)
432 8e9facd8 Florent Chuffart
433 21b8928f Florent Chuffart
R: reformat an "apply manipulated" list of regions
434 21b8928f Florent Chuffart
435 21b8928f Florent Chuffart
436 21b8928f Florent Chuffart
reformat an "apply manipulated" list of regions
437 21b8928f Florent Chuffart
-----------------------------------------------
438 21b8928f Florent Chuffart
439 21b8928f Florent Chuffart
440 21b8928f Florent Chuffart
Description
441 21b8928f Florent Chuffart
~~~~~~~~~~~
442 21b8928f Florent Chuffart
443 21b8928f Florent Chuffart
Utils to reformat an "apply manipulated" list of regions
444 21b8928f Florent Chuffart
445 21b8928f Florent Chuffart
446 21b8928f Florent Chuffart
Usage
447 21b8928f Florent Chuffart
~~~~~
448 21b8928f Florent Chuffart
449 21b8928f Florent Chuffart
   collapse_regions(regions)
450 21b8928f Florent Chuffart
451 21b8928f Florent Chuffart
452 21b8928f Florent Chuffart
Arguments
453 21b8928f Florent Chuffart
~~~~~~~~~
454 21b8928f Florent Chuffart
455 21b8928f Florent Chuffart
+-----------------+------+
456 21b8928f Florent Chuffart
+-----------------+------+
457 21b8928f Florent Chuffart
458 21b8928f Florent Chuffart
459 21b8928f Florent Chuffart
Author(s)
460 21b8928f Florent Chuffart
~~~~~~~~~
461 21b8928f Florent Chuffart
462 21b8928f Florent Chuffart
Florent Chuffart
463 21b8928f Florent Chuffart
464 8e9facd8 Florent Chuffart
R: Compute Common Uninterrupted Regions (CUR)
465 8e9facd8 Florent Chuffart
466 8e9facd8 Florent Chuffart
467 8e9facd8 Florent Chuffart
Compute Common Uninterrupted Regions (CUR)
468 8e9facd8 Florent Chuffart
------------------------------------------
469 8e9facd8 Florent Chuffart
470 8e9facd8 Florent Chuffart
471 8e9facd8 Florent Chuffart
Description
472 8e9facd8 Florent Chuffart
~~~~~~~~~~~
473 8e9facd8 Florent Chuffart
474 8e9facd8 Florent Chuffart
CURs are regions that can be aligned between the genomes
475 8e9facd8 Florent Chuffart
476 8e9facd8 Florent Chuffart
477 8e9facd8 Florent Chuffart
Usage
478 8e9facd8 Florent Chuffart
~~~~~
479 8e9facd8 Florent Chuffart
480 8e9facd8 Florent Chuffart
   compute_inter_all_strain_curs(diff_allowed = 10, min_cur_width = 200,
481 8e9facd8 Florent Chuffart
       config = NULL, plot = FALSE)
482 8e9facd8 Florent Chuffart
483 8e9facd8 Florent Chuffart
484 8e9facd8 Florent Chuffart
Arguments
485 8e9facd8 Florent Chuffart
~~~~~~~~~
486 8e9facd8 Florent Chuffart
487 8e9facd8 Florent Chuffart
"diff_allowed"
488 8e9facd8 Florent Chuffart
489 8e9facd8 Florent Chuffart
the maximum indel width allowe din a CUR
490 8e9facd8 Florent Chuffart
491 8e9facd8 Florent Chuffart
"min_cur_width"
492 8e9facd8 Florent Chuffart
493 8e9facd8 Florent Chuffart
The minimum width of a CUR
494 8e9facd8 Florent Chuffart
495 8e9facd8 Florent Chuffart
"config"
496 8e9facd8 Florent Chuffart
497 8e9facd8 Florent Chuffart
GLOBAL config variable
498 8e9facd8 Florent Chuffart
499 8e9facd8 Florent Chuffart
"plot"
500 8e9facd8 Florent Chuffart
501 8e9facd8 Florent Chuffart
Plot CURs or not
502 8e9facd8 Florent Chuffart
503 8e9facd8 Florent Chuffart
504 8e9facd8 Florent Chuffart
Author(s)
505 8e9facd8 Florent Chuffart
~~~~~~~~~
506 8e9facd8 Florent Chuffart
507 8e9facd8 Florent Chuffart
Florent Chuffart
508 8e9facd8 Florent Chuffart
509 935a568c Florent Chuffart
R: Crop bound of regions according to region of interest bound
510 935a568c Florent Chuffart
511 935a568c Florent Chuffart
512 935a568c Florent Chuffart
Crop bound of regions according to region of interest bound
513 935a568c Florent Chuffart
-----------------------------------------------------------
514 935a568c Florent Chuffart
515 935a568c Florent Chuffart
516 935a568c Florent Chuffart
Description
517 935a568c Florent Chuffart
~~~~~~~~~~~
518 935a568c Florent Chuffart
519 935a568c Florent Chuffart
The fucntion is no more necessary since we remove "big_roi" bug in
520 935a568c Florent Chuffart
translate_roi function.
521 935a568c Florent Chuffart
522 935a568c Florent Chuffart
523 935a568c Florent Chuffart
Usage
524 935a568c Florent Chuffart
~~~~~
525 935a568c Florent Chuffart
526 8e9facd8 Florent Chuffart
   crop_fuzzy(tmp_fuzzy_nucs, roi, strain, config = NULL)
527 935a568c Florent Chuffart
528 935a568c Florent Chuffart
529 935a568c Florent Chuffart
Arguments
530 935a568c Florent Chuffart
~~~~~~~~~
531 935a568c Florent Chuffart
532 935a568c Florent Chuffart
"tmp_fuzzy_nucs"
533 935a568c Florent Chuffart
534 935a568c Florent Chuffart
the regiuons to be croped.
535 935a568c Florent Chuffart
536 935a568c Florent Chuffart
"roi"
537 935a568c Florent Chuffart
538 935a568c Florent Chuffart
The region of interest.
539 935a568c Florent Chuffart
540 935a568c Florent Chuffart
"strain"
541 935a568c Florent Chuffart
542 935a568c Florent Chuffart
The strain to consider.
543 935a568c Florent Chuffart
544 8e9facd8 Florent Chuffart
"config"
545 8e9facd8 Florent Chuffart
546 8e9facd8 Florent Chuffart
GLOBAL config variable
547 8e9facd8 Florent Chuffart
548 935a568c Florent Chuffart
549 935a568c Florent Chuffart
Author(s)
550 935a568c Florent Chuffart
~~~~~~~~~
551 935a568c Florent Chuffart
552 935a568c Florent Chuffart
Florent Chuffart
553 935a568c Florent Chuffart
554 935a568c Florent Chuffart
R: Adding list to a dataframe.
555 935a568c Florent Chuffart
556 935a568c Florent Chuffart
557 935a568c Florent Chuffart
Adding list to a dataframe.
558 935a568c Florent Chuffart
---------------------------
559 935a568c Florent Chuffart
560 935a568c Florent Chuffart
561 935a568c Florent Chuffart
Description
562 935a568c Florent Chuffart
~~~~~~~~~~~
563 935a568c Florent Chuffart
564 935a568c Florent Chuffart
Add a list *l* to a dataframe *df*. Create it if *df* is *NULL*.
565 935a568c Florent Chuffart
Return the dataframe *df*.
566 935a568c Florent Chuffart
567 935a568c Florent Chuffart
568 935a568c Florent Chuffart
Usage
569 935a568c Florent Chuffart
~~~~~
570 935a568c Florent Chuffart
571 935a568c Florent Chuffart
   dfadd(df, l)
572 935a568c Florent Chuffart
573 935a568c Florent Chuffart
574 935a568c Florent Chuffart
Arguments
575 935a568c Florent Chuffart
~~~~~~~~~
576 935a568c Florent Chuffart
577 935a568c Florent Chuffart
"df"
578 935a568c Florent Chuffart
579 935a568c Florent Chuffart
A dataframe
580 935a568c Florent Chuffart
581 935a568c Florent Chuffart
"l"
582 935a568c Florent Chuffart
583 935a568c Florent Chuffart
A list
584 935a568c Florent Chuffart
585 935a568c Florent Chuffart
586 935a568c Florent Chuffart
Value
587 935a568c Florent Chuffart
~~~~~
588 935a568c Florent Chuffart
589 935a568c Florent Chuffart
Return the dataframe *df*.
590 935a568c Florent Chuffart
591 935a568c Florent Chuffart
592 935a568c Florent Chuffart
Author(s)
593 935a568c Florent Chuffart
~~~~~~~~~
594 935a568c Florent Chuffart
595 935a568c Florent Chuffart
Florent Chuffart
596 935a568c Florent Chuffart
597 935a568c Florent Chuffart
598 935a568c Florent Chuffart
Examples
599 935a568c Florent Chuffart
~~~~~~~~
600 935a568c Florent Chuffart
601 935a568c Florent Chuffart
   ## Here dataframe is NULL
602 935a568c Florent Chuffart
   print(df)
603 935a568c Florent Chuffart
   df = NULL
604 935a568c Florent Chuffart
605 935a568c Florent Chuffart
   # Initialize df
606 935a568c Florent Chuffart
   df = dfadd(df, list(key1 = "value1", key2 = "value2"))
607 935a568c Florent Chuffart
   print(df)
608 935a568c Florent Chuffart
609 935a568c Florent Chuffart
   # Adding elements to df
610 935a568c Florent Chuffart
   df = dfadd(df, list(key1 = "value1'", key2 = "value2'"))
611 935a568c Florent Chuffart
   print(df)
612 935a568c Florent Chuffart
613 935a568c Florent Chuffart
R: Extract wp nucs from nuc map.
614 935a568c Florent Chuffart
615 935a568c Florent Chuffart
616 935a568c Florent Chuffart
Extract wp nucs from nuc map.
617 935a568c Florent Chuffart
-----------------------------
618 935a568c Florent Chuffart
619 935a568c Florent Chuffart
620 935a568c Florent Chuffart
Description
621 935a568c Florent Chuffart
~~~~~~~~~~~
622 935a568c Florent Chuffart
623 935a568c Florent Chuffart
Function based on common wp nuc index and roi_index.
624 935a568c Florent Chuffart
625 935a568c Florent Chuffart
626 935a568c Florent Chuffart
Usage
627 935a568c Florent Chuffart
~~~~~
628 935a568c Florent Chuffart
629 935a568c Florent Chuffart
   extract_wp(strain_maps, roi_index, strain, tmp_common_nucs)
630 935a568c Florent Chuffart
631 935a568c Florent Chuffart
632 935a568c Florent Chuffart
Arguments
633 935a568c Florent Chuffart
~~~~~~~~~
634 935a568c Florent Chuffart
635 935a568c Florent Chuffart
"strain_maps"
636 935a568c Florent Chuffart
637 935a568c Florent Chuffart
Nuc maps.
638 935a568c Florent Chuffart
639 935a568c Florent Chuffart
"roi_index"
640 935a568c Florent Chuffart
641 935a568c Florent Chuffart
The region of interest index.
642 935a568c Florent Chuffart
643 935a568c Florent Chuffart
"strain"
644 935a568c Florent Chuffart
645 935a568c Florent Chuffart
The strain to consider.
646 935a568c Florent Chuffart
647 935a568c Florent Chuffart
"tmp_common_nucs"
648 935a568c Florent Chuffart
649 935a568c Florent Chuffart
the list of wp nucs.
650 935a568c Florent Chuffart
651 935a568c Florent Chuffart
652 935a568c Florent Chuffart
Author(s)
653 935a568c Florent Chuffart
~~~~~~~~~
654 935a568c Florent Chuffart
655 935a568c Florent Chuffart
Florent Chuffart
656 935a568c Florent Chuffart
657 935a568c Florent Chuffart
R: Prefetch data
658 935a568c Florent Chuffart
659 935a568c Florent Chuffart
660 935a568c Florent Chuffart
Prefetch data
661 935a568c Florent Chuffart
-------------
662 935a568c Florent Chuffart
663 935a568c Florent Chuffart
664 935a568c Florent Chuffart
Description
665 935a568c Florent Chuffart
~~~~~~~~~~~
666 935a568c Florent Chuffart
667 935a568c Florent Chuffart
Fetch and filter inputs and outpouts per region of interest. Organize
668 935a568c Florent Chuffart
it per replicates.
669 935a568c Florent Chuffart
670 935a568c Florent Chuffart
671 935a568c Florent Chuffart
Usage
672 935a568c Florent Chuffart
~~~~~
673 935a568c Florent Chuffart
674 8e9facd8 Florent Chuffart
   fetch_mnase_replicates(strain, roi, all_samples, config = NULL,
675 8e9facd8 Florent Chuffart
       only_fetch = FALSE, get_genome = FALSE, get_ouputs = TRUE)
676 935a568c Florent Chuffart
677 935a568c Florent Chuffart
678 935a568c Florent Chuffart
Arguments
679 935a568c Florent Chuffart
~~~~~~~~~
680 935a568c Florent Chuffart
681 935a568c Florent Chuffart
"strain"
682 935a568c Florent Chuffart
683 935a568c Florent Chuffart
The strain we want mnase replicatesList of replicates. Each replicates
684 935a568c Florent Chuffart
is a vector of sample ids.
685 935a568c Florent Chuffart
686 935a568c Florent Chuffart
"roi"
687 935a568c Florent Chuffart
688 935a568c Florent Chuffart
Region of interest.
689 935a568c Florent Chuffart
690 935a568c Florent Chuffart
"all_samples"
691 935a568c Florent Chuffart
692 935a568c Florent Chuffart
Global list of samples.
693 935a568c Florent Chuffart
694 935a568c Florent Chuffart
"config"
695 935a568c Florent Chuffart
696 935a568c Florent Chuffart
GLOBAL config variable
697 935a568c Florent Chuffart
698 935a568c Florent Chuffart
"only_fetch"
699 935a568c Florent Chuffart
700 935a568c Florent Chuffart
If TRUE, only fetch and not filtering. It is used tio load sample
701 935a568c Florent Chuffart
files into memory before forking.
702 935a568c Florent Chuffart
703 935a568c Florent Chuffart
"get_genome"
704 935a568c Florent Chuffart
705 935a568c Florent Chuffart
If TRUE, load corresponding genome sequence.
706 935a568c Florent Chuffart
707 935a568c Florent Chuffart
"get_ouputs"
708 935a568c Florent Chuffart
709 935a568c Florent Chuffart
If TRUE, get also ouput corresponding TF output files.
710 935a568c Florent Chuffart
711 935a568c Florent Chuffart
712 935a568c Florent Chuffart
Author(s)
713 935a568c Florent Chuffart
~~~~~~~~~
714 935a568c Florent Chuffart
715 935a568c Florent Chuffart
Florent Chuffart
716 935a568c Florent Chuffart
717 935a568c Florent Chuffart
R: Filter TemplateFilter inputs
718 935a568c Florent Chuffart
719 935a568c Florent Chuffart
720 935a568c Florent Chuffart
Filter TemplateFilter inputs
721 935a568c Florent Chuffart
----------------------------
722 935a568c Florent Chuffart
723 935a568c Florent Chuffart
724 935a568c Florent Chuffart
Description
725 935a568c Florent Chuffart
~~~~~~~~~~~
726 935a568c Florent Chuffart
727 935a568c Florent Chuffart
This function filters TemplateFilter inputs according genome area
728 935a568c Florent Chuffart
observed properties. It takes into account reads that are at the
729 935a568c Florent Chuffart
frontier of this area and the strand of these reads.
730 935a568c Florent Chuffart
731 935a568c Florent Chuffart
732 935a568c Florent Chuffart
Usage
733 935a568c Florent Chuffart
~~~~~
734 935a568c Florent Chuffart
735 935a568c Florent Chuffart
   filter_tf_inputs(inputs, chr, x_min, x_max, nuc_width = 160,
736 21b8928f Florent Chuffart
       only_f = FALSE, only_r = FALSE, filter_for_coverage = FALSE)
737 935a568c Florent Chuffart
738 935a568c Florent Chuffart
739 935a568c Florent Chuffart
Arguments
740 935a568c Florent Chuffart
~~~~~~~~~
741 935a568c Florent Chuffart
742 935a568c Florent Chuffart
"inputs"
743 935a568c Florent Chuffart
744 935a568c Florent Chuffart
TF inputs to be filtered.
745 935a568c Florent Chuffart
746 935a568c Florent Chuffart
"chr"
747 935a568c Florent Chuffart
748 935a568c Florent Chuffart
Chromosome observed, here chr is an integer.
749 935a568c Florent Chuffart
750 935a568c Florent Chuffart
"x_min"
751 935a568c Florent Chuffart
752 935a568c Florent Chuffart
Coordinate of the first bp observed.
753 935a568c Florent Chuffart
754 935a568c Florent Chuffart
"x_max"
755 935a568c Florent Chuffart
756 935a568c Florent Chuffart
Coordinate of the last bp observed.
757 935a568c Florent Chuffart
758 935a568c Florent Chuffart
"nuc_width"
759 935a568c Florent Chuffart
760 935a568c Florent Chuffart
Nucleosome width.
761 935a568c Florent Chuffart
762 935a568c Florent Chuffart
"only_f"
763 935a568c Florent Chuffart
764 935a568c Florent Chuffart
Filter only F reads.
765 935a568c Florent Chuffart
766 935a568c Florent Chuffart
"only_r"
767 935a568c Florent Chuffart
768 935a568c Florent Chuffart
Filter only R reads.
769 935a568c Florent Chuffart
770 21b8928f Florent Chuffart
"filter_for_coverage"
771 21b8928f Florent Chuffart
772 21b8928f Florent Chuffart
Does it filter for plot coverage?
773 21b8928f Florent Chuffart
774 935a568c Florent Chuffart
775 935a568c Florent Chuffart
Value
776 935a568c Florent Chuffart
~~~~~
777 935a568c Florent Chuffart
778 935a568c Florent Chuffart
Returns filtred inputs.
779 935a568c Florent Chuffart
780 935a568c Florent Chuffart
781 935a568c Florent Chuffart
Author(s)
782 935a568c Florent Chuffart
~~~~~~~~~
783 935a568c Florent Chuffart
784 935a568c Florent Chuffart
Florent Chuffart
785 935a568c Florent Chuffart
786 935a568c Florent Chuffart
R: Filter TemplateFilter outputs
787 935a568c Florent Chuffart
788 935a568c Florent Chuffart
789 935a568c Florent Chuffart
Filter TemplateFilter outputs
790 935a568c Florent Chuffart
-----------------------------
791 935a568c Florent Chuffart
792 935a568c Florent Chuffart
793 935a568c Florent Chuffart
Description
794 935a568c Florent Chuffart
~~~~~~~~~~~
795 935a568c Florent Chuffart
796 935a568c Florent Chuffart
This function filters TemplateFilter outputs according, not only
797 935a568c Florent Chuffart
genome area observerved properties, but also correlation and overlap
798 935a568c Florent Chuffart
threshold.
799 935a568c Florent Chuffart
800 935a568c Florent Chuffart
801 935a568c Florent Chuffart
Usage
802 935a568c Florent Chuffart
~~~~~
803 935a568c Florent Chuffart
804 935a568c Florent Chuffart
   filter_tf_outputs(tf_outputs, chr, x_min, x_max, nuc_width = 160,
805 935a568c Florent Chuffart
       ol_bp = 59, corr_thres = 0.5)
806 935a568c Florent Chuffart
807 935a568c Florent Chuffart
808 935a568c Florent Chuffart
Arguments
809 935a568c Florent Chuffart
~~~~~~~~~
810 935a568c Florent Chuffart
811 935a568c Florent Chuffart
"tf_outputs"
812 935a568c Florent Chuffart
813 935a568c Florent Chuffart
TemplateFilter outputs.
814 935a568c Florent Chuffart
815 935a568c Florent Chuffart
"chr"
816 935a568c Florent Chuffart
817 935a568c Florent Chuffart
Chromosome observed, here chr is an integer.
818 935a568c Florent Chuffart
819 935a568c Florent Chuffart
"x_min"
820 935a568c Florent Chuffart
821 935a568c Florent Chuffart
Coordinate of the first bp observed.
822 935a568c Florent Chuffart
823 935a568c Florent Chuffart
"x_max"
824 935a568c Florent Chuffart
825 935a568c Florent Chuffart
Coordinate of the last bp observed.
826 935a568c Florent Chuffart
827 935a568c Florent Chuffart
"nuc_width"
828 935a568c Florent Chuffart
829 935a568c Florent Chuffart
Nucleosome width.
830 935a568c Florent Chuffart
831 935a568c Florent Chuffart
"ol_bp"
832 935a568c Florent Chuffart
833 935a568c Florent Chuffart
Overlap Threshold.
834 935a568c Florent Chuffart
835 935a568c Florent Chuffart
"corr_thres"
836 935a568c Florent Chuffart
837 935a568c Florent Chuffart
Correlation threshold.
838 935a568c Florent Chuffart
839 935a568c Florent Chuffart
840 935a568c Florent Chuffart
Value
841 935a568c Florent Chuffart
~~~~~
842 935a568c Florent Chuffart
843 935a568c Florent Chuffart
Returns filtered TemplateFilter Outputs
844 935a568c Florent Chuffart
845 935a568c Florent Chuffart
846 935a568c Florent Chuffart
Author(s)
847 935a568c Florent Chuffart
~~~~~~~~~
848 935a568c Florent Chuffart
849 935a568c Florent Chuffart
Florent Chuffart
850 935a568c Florent Chuffart
851 21b8928f Florent Chuffart
R: to flat aggregate_intra_strain_nucs function output
852 21b8928f Florent Chuffart
853 21b8928f Florent Chuffart
854 21b8928f Florent Chuffart
to flat aggregate_intra_strain_nucs function output
855 21b8928f Florent Chuffart
---------------------------------------------------
856 21b8928f Florent Chuffart
857 21b8928f Florent Chuffart
858 21b8928f Florent Chuffart
Description
859 21b8928f Florent Chuffart
~~~~~~~~~~~
860 21b8928f Florent Chuffart
861 21b8928f Florent Chuffart
This function builds a dataframe of all clusters obtain from
862 21b8928f Florent Chuffart
aggregate_intra_strain_nucs function.
863 21b8928f Florent Chuffart
864 21b8928f Florent Chuffart
865 21b8928f Florent Chuffart
Usage
866 21b8928f Florent Chuffart
~~~~~
867 21b8928f Florent Chuffart
868 21b8928f Florent Chuffart
   flat_aggregated_intra_strain_nucs(partial_strain_maps, roi_index)
869 21b8928f Florent Chuffart
870 21b8928f Florent Chuffart
871 21b8928f Florent Chuffart
Arguments
872 21b8928f Florent Chuffart
~~~~~~~~~
873 21b8928f Florent Chuffart
874 21b8928f Florent Chuffart
"partial_strain_maps"
875 21b8928f Florent Chuffart
876 21b8928f Florent Chuffart
the output of aggregate_intra_strain_nucs function
877 21b8928f Florent Chuffart
878 21b8928f Florent Chuffart
"roi_index"
879 21b8928f Florent Chuffart
880 21b8928f Florent Chuffart
the index of the roi involved
881 21b8928f Florent Chuffart
882 21b8928f Florent Chuffart
883 21b8928f Florent Chuffart
Value
884 21b8928f Florent Chuffart
~~~~~
885 21b8928f Florent Chuffart
886 21b8928f Florent Chuffart
Returns a dataframe of all clusters obtain from
887 21b8928f Florent Chuffart
aggregate_intra_strain_nucs function.
888 21b8928f Florent Chuffart
889 21b8928f Florent Chuffart
890 21b8928f Florent Chuffart
Author(s)
891 21b8928f Florent Chuffart
~~~~~~~~~
892 21b8928f Florent Chuffart
893 21b8928f Florent Chuffart
Florent Chuffart
894 21b8928f Florent Chuffart
895 935a568c Florent Chuffart
R: flat reads
896 935a568c Florent Chuffart
897 935a568c Florent Chuffart
898 935a568c Florent Chuffart
flat reads
899 935a568c Florent Chuffart
----------
900 935a568c Florent Chuffart
901 935a568c Florent Chuffart
902 935a568c Florent Chuffart
Description
903 935a568c Florent Chuffart
~~~~~~~~~~~
904 935a568c Florent Chuffart
905 935a568c Florent Chuffart
Extract reads coordinates from TempleteFilter input sequence
906 935a568c Florent Chuffart
907 935a568c Florent Chuffart
908 935a568c Florent Chuffart
Usage
909 935a568c Florent Chuffart
~~~~~
910 935a568c Florent Chuffart
911 935a568c Florent Chuffart
   flat_reads(reads, nuc_width)
912 935a568c Florent Chuffart
913 935a568c Florent Chuffart
914 935a568c Florent Chuffart
Arguments
915 935a568c Florent Chuffart
~~~~~~~~~
916 935a568c Florent Chuffart
917 935a568c Florent Chuffart
"reads"
918 935a568c Florent Chuffart
919 935a568c Florent Chuffart
TemplateFilter input reads
920 935a568c Florent Chuffart
921 935a568c Florent Chuffart
"nuc_width"
922 935a568c Florent Chuffart
923 935a568c Florent Chuffart
Width used to shift F and R reads.
924 935a568c Florent Chuffart
925 935a568c Florent Chuffart
926 935a568c Florent Chuffart
Value
927 935a568c Florent Chuffart
~~~~~
928 935a568c Florent Chuffart
929 935a568c Florent Chuffart
Returns a list of F reads, R reads and joint/shifted F and R reads.
930 935a568c Florent Chuffart
931 935a568c Florent Chuffart
932 935a568c Florent Chuffart
Author(s)
933 935a568c Florent Chuffart
~~~~~~~~~
934 935a568c Florent Chuffart
935 935a568c Florent Chuffart
Florent Chuffart
936 935a568c Florent Chuffart
937 935a568c Florent Chuffart
R: Retrieve Reads
938 935a568c Florent Chuffart
939 935a568c Florent Chuffart
940 935a568c Florent Chuffart
Retrieve Reads
941 935a568c Florent Chuffart
--------------
942 935a568c Florent Chuffart
943 935a568c Florent Chuffart
944 935a568c Florent Chuffart
Description
945 935a568c Florent Chuffart
~~~~~~~~~~~
946 935a568c Florent Chuffart
947 935a568c Florent Chuffart
Retrieve reads for a given marker, combi, form.
948 935a568c Florent Chuffart
949 935a568c Florent Chuffart
950 935a568c Florent Chuffart
Usage
951 935a568c Florent Chuffart
~~~~~
952 935a568c Florent Chuffart
953 21b8928f Florent Chuffart
   get_all_reads(marker, combi, form = "wp", config = NULL)
954 935a568c Florent Chuffart
955 935a568c Florent Chuffart
956 935a568c Florent Chuffart
Arguments
957 935a568c Florent Chuffart
~~~~~~~~~
958 935a568c Florent Chuffart
959 935a568c Florent Chuffart
"marker"
960 935a568c Florent Chuffart
961 935a568c Florent Chuffart
The marker to considere.
962 935a568c Florent Chuffart
963 935a568c Florent Chuffart
"combi"
964 935a568c Florent Chuffart
965 935a568c Florent Chuffart
The starin combination to considere.
966 935a568c Florent Chuffart
967 935a568c Florent Chuffart
"form"
968 935a568c Florent Chuffart
969 935a568c Florent Chuffart
The nuc form to considere.
970 935a568c Florent Chuffart
971 21b8928f Florent Chuffart
"config"
972 21b8928f Florent Chuffart
973 21b8928f Florent Chuffart
GLOBAL config variable
974 21b8928f Florent Chuffart
975 935a568c Florent Chuffart
976 935a568c Florent Chuffart
Author(s)
977 935a568c Florent Chuffart
~~~~~~~~~
978 935a568c Florent Chuffart
979 935a568c Florent Chuffart
Florent Chuffart
980 935a568c Florent Chuffart
981 935a568c Florent Chuffart
R: get comp strand
982 935a568c Florent Chuffart
983 935a568c Florent Chuffart
984 935a568c Florent Chuffart
get comp strand
985 935a568c Florent Chuffart
---------------
986 935a568c Florent Chuffart
987 935a568c Florent Chuffart
988 935a568c Florent Chuffart
Description
989 935a568c Florent Chuffart
~~~~~~~~~~~
990 935a568c Florent Chuffart
991 935a568c Florent Chuffart
Compute the complementatry strand.
992 935a568c Florent Chuffart
993 935a568c Florent Chuffart
994 935a568c Florent Chuffart
Usage
995 935a568c Florent Chuffart
~~~~~
996 935a568c Florent Chuffart
997 935a568c Florent Chuffart
   get_comp_strand(strand)
998 935a568c Florent Chuffart
999 935a568c Florent Chuffart
1000 935a568c Florent Chuffart
Arguments
1001 935a568c Florent Chuffart
~~~~~~~~~
1002 935a568c Florent Chuffart
1003 935a568c Florent Chuffart
"strand"
1004 935a568c Florent Chuffart
1005 935a568c Florent Chuffart
The original strand.
1006 935a568c Florent Chuffart
1007 935a568c Florent Chuffart
1008 935a568c Florent Chuffart
Value
1009 935a568c Florent Chuffart
~~~~~
1010 935a568c Florent Chuffart
1011 935a568c Florent Chuffart
Returns the complementatry strand.
1012 935a568c Florent Chuffart
1013 935a568c Florent Chuffart
1014 935a568c Florent Chuffart
Author(s)
1015 935a568c Florent Chuffart
~~~~~~~~~
1016 935a568c Florent Chuffart
1017 935a568c Florent Chuffart
Florent Chuffart
1018 935a568c Florent Chuffart
1019 935a568c Florent Chuffart
R: Build the design for deseq
1020 935a568c Florent Chuffart
1021 935a568c Florent Chuffart
1022 935a568c Florent Chuffart
Build the design for deseq
1023 935a568c Florent Chuffart
--------------------------
1024 935a568c Florent Chuffart
1025 935a568c Florent Chuffart
1026 935a568c Florent Chuffart
Description
1027 935a568c Florent Chuffart
~~~~~~~~~~~
1028 935a568c Florent Chuffart
1029 935a568c Florent Chuffart
This function build the design according sample properties.
1030 935a568c Florent Chuffart
1031 935a568c Florent Chuffart
1032 935a568c Florent Chuffart
Usage
1033 935a568c Florent Chuffart
~~~~~
1034 935a568c Florent Chuffart
1035 935a568c Florent Chuffart
   get_design(marker, combi, all_samples)
1036 935a568c Florent Chuffart
1037 935a568c Florent Chuffart
1038 935a568c Florent Chuffart
Arguments
1039 935a568c Florent Chuffart
~~~~~~~~~
1040 935a568c Florent Chuffart
1041 935a568c Florent Chuffart
"marker"
1042 935a568c Florent Chuffart
1043 935a568c Florent Chuffart
The marker to considere.
1044 935a568c Florent Chuffart
1045 935a568c Florent Chuffart
"combi"
1046 935a568c Florent Chuffart
1047 935a568c Florent Chuffart
The starin combination to considere.
1048 935a568c Florent Chuffart
1049 935a568c Florent Chuffart
"all_samples"
1050 935a568c Florent Chuffart
1051 935a568c Florent Chuffart
Global list of samples.
1052 935a568c Florent Chuffart
1053 935a568c Florent Chuffart
1054 935a568c Florent Chuffart
Author(s)
1055 935a568c Florent Chuffart
~~~~~~~~~
1056 935a568c Florent Chuffart
1057 935a568c Florent Chuffart
Florent Chuffart
1058 935a568c Florent Chuffart
1059 935a568c Florent Chuffart
R: Compute the fuzzy nucs.
1060 935a568c Florent Chuffart
1061 935a568c Florent Chuffart
1062 935a568c Florent Chuffart
Compute the fuzzy nucs.
1063 935a568c Florent Chuffart
-----------------------
1064 935a568c Florent Chuffart
1065 935a568c Florent Chuffart
1066 935a568c Florent Chuffart
Description
1067 935a568c Florent Chuffart
~~~~~~~~~~~
1068 935a568c Florent Chuffart
1069 935a568c Florent Chuffart
This function aggregate non common wp nucs for each strain and
1070 935a568c Florent Chuffart
substract common wp nucs. It does not take care about the size of the
1071 935a568c Florent Chuffart
resulting fuzzy regions. It will be take into account in the count
1072 935a568c Florent Chuffart
read part og the pipeline.
1073 935a568c Florent Chuffart
1074 935a568c Florent Chuffart
1075 935a568c Florent Chuffart
Usage
1076 935a568c Florent Chuffart
~~~~~
1077 935a568c Florent Chuffart
1078 8e9facd8 Florent Chuffart
   get_fuzzy(combi, roi, roi_index, strain_maps, common_nuc_results,
1079 8e9facd8 Florent Chuffart
       config = NULL)
1080 935a568c Florent Chuffart
1081 935a568c Florent Chuffart
1082 935a568c Florent Chuffart
Arguments
1083 935a568c Florent Chuffart
~~~~~~~~~
1084 935a568c Florent Chuffart
1085 935a568c Florent Chuffart
"combi"
1086 935a568c Florent Chuffart
1087 935a568c Florent Chuffart
The strain combination to consider.
1088 935a568c Florent Chuffart
1089 935a568c Florent Chuffart
"roi"
1090 935a568c Florent Chuffart
1091 935a568c Florent Chuffart
The region of interest.
1092 935a568c Florent Chuffart
1093 935a568c Florent Chuffart
"roi_index"
1094 935a568c Florent Chuffart
1095 935a568c Florent Chuffart
The region of interest index.
1096 935a568c Florent Chuffart
1097 935a568c Florent Chuffart
"strain_maps"
1098 935a568c Florent Chuffart
1099 935a568c Florent Chuffart
Nuc maps.
1100 935a568c Florent Chuffart
1101 935a568c Florent Chuffart
"common_nuc_results"
1102 935a568c Florent Chuffart
1103 935a568c Florent Chuffart
Common wp nuc maps
1104 935a568c Florent Chuffart
1105 8e9facd8 Florent Chuffart
"config"
1106 8e9facd8 Florent Chuffart
1107 8e9facd8 Florent Chuffart
GLOBAL config variable
1108 8e9facd8 Florent Chuffart
1109 935a568c Florent Chuffart
1110 935a568c Florent Chuffart
Author(s)
1111 935a568c Florent Chuffart
~~~~~~~~~
1112 935a568c Florent Chuffart
1113 935a568c Florent Chuffart
Florent Chuffart
1114 935a568c Florent Chuffart
1115 935a568c Florent Chuffart
R: Compute the list of SNEPs for a given set of marker, strain...
1116 935a568c Florent Chuffart
1117 935a568c Florent Chuffart
1118 935a568c Florent Chuffart
Compute the list of SNEPs for a given set of marker, strain combination and nuc form.
1119 935a568c Florent Chuffart
-------------------------------------------------------------------------------------
1120 935a568c Florent Chuffart
1121 935a568c Florent Chuffart
1122 935a568c Florent Chuffart
Description
1123 935a568c Florent Chuffart
~~~~~~~~~~~
1124 935a568c Florent Chuffart
1125 935a568c Florent Chuffart
This function uses
1126 935a568c Florent Chuffart
1127 935a568c Florent Chuffart
1128 935a568c Florent Chuffart
Usage
1129 935a568c Florent Chuffart
~~~~~
1130 935a568c Florent Chuffart
1131 21b8928f Florent Chuffart
   get_sneps(marker, combi, form, all_samples, config = NULL)
1132 935a568c Florent Chuffart
1133 935a568c Florent Chuffart
1134 935a568c Florent Chuffart
Arguments
1135 935a568c Florent Chuffart
~~~~~~~~~
1136 935a568c Florent Chuffart
1137 935a568c Florent Chuffart
"marker"
1138 935a568c Florent Chuffart
1139 935a568c Florent Chuffart
The marker involved.
1140 935a568c Florent Chuffart
1141 935a568c Florent Chuffart
"combi"
1142 935a568c Florent Chuffart
1143 935a568c Florent Chuffart
The strain combination involved.
1144 935a568c Florent Chuffart
1145 935a568c Florent Chuffart
"form"
1146 935a568c Florent Chuffart
1147 935a568c Florent Chuffart
the nuc form involved.
1148 935a568c Florent Chuffart
1149 935a568c Florent Chuffart
"all_samples"
1150 935a568c Florent Chuffart
1151 935a568c Florent Chuffart
Global list of samples.
1152 935a568c Florent Chuffart
1153 21b8928f Florent Chuffart
"config"
1154 21b8928f Florent Chuffart
1155 21b8928f Florent Chuffart
GLOBAL config variable
1156 21b8928f Florent Chuffart
1157 935a568c Florent Chuffart
1158 935a568c Florent Chuffart
Author(s)
1159 935a568c Florent Chuffart
~~~~~~~~~
1160 935a568c Florent Chuffart
1161 935a568c Florent Chuffart
Florent Chuffart
1162 935a568c Florent Chuffart
1163 935a568c Florent Chuffart
1164 935a568c Florent Chuffart
Examples
1165 935a568c Florent Chuffart
~~~~~~~~
1166 935a568c Florent Chuffart
1167 935a568c Florent Chuffart
   marker = "H3K4me1"
1168 935a568c Florent Chuffart
   combi = c("BY", "YJM")
1169 935a568c Florent Chuffart
   form = "wpfuzzy" # "wp" | "fuzzy" | "wpfuzzy"
1170 935a568c Florent Chuffart
   # foo = get_sneps(marker, combi, form)
1171 935a568c Florent Chuffart
   # foo = get_sneps("H4K12ac", c("BY", "RM"), "wp")
1172 935a568c Florent Chuffart
1173 935a568c Florent Chuffart
R: Likelihood ratio
1174 935a568c Florent Chuffart
1175 935a568c Florent Chuffart
1176 935a568c Florent Chuffart
Likelihood ratio
1177 935a568c Florent Chuffart
----------------
1178 935a568c Florent Chuffart
1179 935a568c Florent Chuffart
1180 935a568c Florent Chuffart
Description
1181 935a568c Florent Chuffart
~~~~~~~~~~~
1182 935a568c Florent Chuffart
1183 935a568c Florent Chuffart
Compute the likelihood log of two set of value from two models Vs. a
1184 935a568c Florent Chuffart
unique model.
1185 935a568c Florent Chuffart
1186 935a568c Florent Chuffart
1187 935a568c Florent Chuffart
Usage
1188 935a568c Florent Chuffart
~~~~~
1189 935a568c Florent Chuffart
1190 935a568c Florent Chuffart
   lod_score_vecs(x, y)
1191 935a568c Florent Chuffart
1192 935a568c Florent Chuffart
1193 935a568c Florent Chuffart
Arguments
1194 935a568c Florent Chuffart
~~~~~~~~~
1195 935a568c Florent Chuffart
1196 935a568c Florent Chuffart
"x"
1197 935a568c Florent Chuffart
1198 935a568c Florent Chuffart
First vector.
1199 935a568c Florent Chuffart
1200 935a568c Florent Chuffart
"y"
1201 935a568c Florent Chuffart
1202 935a568c Florent Chuffart
Second vector.
1203 935a568c Florent Chuffart
1204 935a568c Florent Chuffart
1205 935a568c Florent Chuffart
Value
1206 935a568c Florent Chuffart
~~~~~
1207 935a568c Florent Chuffart
1208 935a568c Florent Chuffart
Returns the likelihood ratio.
1209 935a568c Florent Chuffart
1210 935a568c Florent Chuffart
1211 935a568c Florent Chuffart
Author(s)
1212 935a568c Florent Chuffart
~~~~~~~~~
1213 935a568c Florent Chuffart
1214 935a568c Florent Chuffart
Florent Chuffart
1215 935a568c Florent Chuffart
1216 935a568c Florent Chuffart
1217 935a568c Florent Chuffart
Examples
1218 935a568c Florent Chuffart
~~~~~~~~
1219 935a568c Florent Chuffart
1220 935a568c Florent Chuffart
   # LOD score for 2 set of values
1221 935a568c Florent Chuffart
   mean1=5; sd1=2; card2 = 250
1222 935a568c Florent Chuffart
   mean2=6; sd2=3; card1 = 200
1223 935a568c Florent Chuffart
   x1 = rnorm(card1, mean1, sd1)
1224 935a568c Florent Chuffart
   x2 = rnorm(card2, mean2, sd2)
1225 935a568c Florent Chuffart
   min = floor(min(c(x1,x2)))
1226 935a568c Florent Chuffart
   max = ceiling(max(c(x1,x2)))
1227 935a568c Florent Chuffart
   hist(c(x1,x2), xlim=c(min, max), breaks=min:max)
1228 935a568c Florent Chuffart
   lines(min:max,dnorm(min:max,mean1,sd1)*card1,col=2)
1229 935a568c Florent Chuffart
   lines(min:max,dnorm(min:max,mean2,sd2)*card2,col=3)
1230 935a568c Florent Chuffart
   lines(min:max,dnorm(min:max,mean(c(x1,x2)),sd(c(x1,x2)))*card2,col=4)
1231 935a568c Florent Chuffart
   lod_score_vecs(x1,x2)
1232 935a568c Florent Chuffart
1233 935a568c Florent Chuffart
R: nm
1234 935a568c Florent Chuffart
1235 935a568c Florent Chuffart
1236 935a568c Florent Chuffart
nm
1237 935a568c Florent Chuffart
--
1238 935a568c Florent Chuffart
1239 935a568c Florent Chuffart
1240 935a568c Florent Chuffart
Description
1241 935a568c Florent Chuffart
~~~~~~~~~~~
1242 935a568c Florent Chuffart
1243 935a568c Florent Chuffart
It provides a set of useful functions allowing to perform quantitative
1244 935a568c Florent Chuffart
analysis of nucleosomal epigenome.
1245 935a568c Florent Chuffart
1246 935a568c Florent Chuffart
1247 935a568c Florent Chuffart
Details
1248 935a568c Florent Chuffart
~~~~~~~
1249 935a568c Florent Chuffart
1250 935a568c Florent Chuffart
+-----------------+-----------------------------------------------------+
1251 935a568c Florent Chuffart
| Package:        | nucleominer                                         |
1252 935a568c Florent Chuffart
+-----------------+-----------------------------------------------------+
1253 935a568c Florent Chuffart
| Maintainer:     | Florent Chuffart <florent.chuffart@ens-lyon.fr>     |
1254 935a568c Florent Chuffart
+-----------------+-----------------------------------------------------+
1255 935a568c Florent Chuffart
| Author:         | Florent Chuffart                                    |
1256 935a568c Florent Chuffart
+-----------------+-----------------------------------------------------+
1257 21b8928f Florent Chuffart
| Version:        | 2.3.28                                              |
1258 935a568c Florent Chuffart
+-----------------+-----------------------------------------------------+
1259 935a568c Florent Chuffart
| License:        | CeCILL                                              |
1260 935a568c Florent Chuffart
+-----------------+-----------------------------------------------------+
1261 935a568c Florent Chuffart
| Title:          | nm                                                  |
1262 935a568c Florent Chuffart
+-----------------+-----------------------------------------------------+
1263 8e9facd8 Florent Chuffart
| Depends:        | seqinr, plotrix, DESeq, cachecache                  |
1264 935a568c Florent Chuffart
+-----------------+-----------------------------------------------------+
1265 935a568c Florent Chuffart
1266 935a568c Florent Chuffart
1267 935a568c Florent Chuffart
Author(s)
1268 935a568c Florent Chuffart
~~~~~~~~~
1269 935a568c Florent Chuffart
1270 935a568c Florent Chuffart
Florent Chuffart
1271 935a568c Florent Chuffart
1272 935a568c Florent Chuffart
R: Performaing ANOVAs
1273 935a568c Florent Chuffart
1274 935a568c Florent Chuffart
1275 935a568c Florent Chuffart
Performaing ANOVAs
1276 935a568c Florent Chuffart
------------------
1277 935a568c Florent Chuffart
1278 935a568c Florent Chuffart
1279 935a568c Florent Chuffart
Description
1280 935a568c Florent Chuffart
~~~~~~~~~~~
1281 935a568c Florent Chuffart
1282 935a568c Florent Chuffart
Counts reads and Performs ANOVAS for each common nucleosomes involved.
1283 935a568c Florent Chuffart
1284 935a568c Florent Chuffart
1285 935a568c Florent Chuffart
Usage
1286 935a568c Florent Chuffart
~~~~~
1287 935a568c Florent Chuffart
1288 935a568c Florent Chuffart
   perform_anovas(replicates, aligned_inter_strain_nucs, inputs_name = "Mnase_Seq",
1289 935a568c Florent Chuffart
       plot_anova_boxes = FALSE)
1290 935a568c Florent Chuffart
1291 935a568c Florent Chuffart
1292 935a568c Florent Chuffart
Arguments
1293 935a568c Florent Chuffart
~~~~~~~~~
1294 935a568c Florent Chuffart
1295 935a568c Florent Chuffart
"replicates"
1296 935a568c Florent Chuffart
1297 935a568c Florent Chuffart
Set of replicates, each replicate is a list of samples (ideally 3).
1298 935a568c Florent Chuffart
Each sample is a list like *sample = list(id=..., marker=...,
1299 935a568c Florent Chuffart
strain=..., roi=..., inputs=..., outputs=...)* with *roi =
1300 935a568c Florent Chuffart
list(name=..., begin=..., end=..., chr=..., genome=...)*. In the
1301 935a568c Florent Chuffart
*perform_anovas* contexte, we need 4 replicates (4 * (3 samples)): 2
1302 935a568c Florent Chuffart
strains * (1 marker + 1 input (Mnase_Seq)).
1303 935a568c Florent Chuffart
1304 935a568c Florent Chuffart
"aligned_inter_strain_nucs"
1305 935a568c Florent Chuffart
1306 935a568c Florent Chuffart
List of common nucleosomes.
1307 935a568c Florent Chuffart
1308 935a568c Florent Chuffart
"inputs_name"
1309 935a568c Florent Chuffart
1310 935a568c Florent Chuffart
Name of the input.
1311 935a568c Florent Chuffart
1312 935a568c Florent Chuffart
"plot_anova_boxes"
1313 935a568c Florent Chuffart
1314 935a568c Florent Chuffart
Plot (or not) boxplot for each nuc.
1315 935a568c Florent Chuffart
1316 935a568c Florent Chuffart
1317 935a568c Florent Chuffart
Value
1318 935a568c Florent Chuffart
~~~~~
1319 935a568c Florent Chuffart
1320 935a568c Florent Chuffart
Returns ANOVA results and comunted reads.
1321 935a568c Florent Chuffart
1322 935a568c Florent Chuffart
1323 935a568c Florent Chuffart
Author(s)
1324 935a568c Florent Chuffart
~~~~~~~~~
1325 935a568c Florent Chuffart
1326 935a568c Florent Chuffart
Florent Chuffart
1327 935a568c Florent Chuffart
1328 935a568c Florent Chuffart
R: Plot the distribution of reads.
1329 935a568c Florent Chuffart
1330 935a568c Florent Chuffart
1331 935a568c Florent Chuffart
Plot the distribution of reads.
1332 935a568c Florent Chuffart
-------------------------------
1333 935a568c Florent Chuffart
1334 935a568c Florent Chuffart
1335 935a568c Florent Chuffart
Description
1336 935a568c Florent Chuffart
~~~~~~~~~~~
1337 935a568c Florent Chuffart
1338 935a568c Florent Chuffart
This fuxntion use the deseq nomalization feature to compare
1339 935a568c Florent Chuffart
qualitatively the distribution.
1340 935a568c Florent Chuffart
1341 935a568c Florent Chuffart
1342 935a568c Florent Chuffart
Usage
1343 935a568c Florent Chuffart
~~~~~
1344 935a568c Florent Chuffart
1345 935a568c Florent Chuffart
   plot_dist_samples(strain, marker, res, all_samples, NEWPLOT = TRUE)
1346 935a568c Florent Chuffart
1347 935a568c Florent Chuffart
1348 935a568c Florent Chuffart
Arguments
1349 935a568c Florent Chuffart
~~~~~~~~~
1350 935a568c Florent Chuffart
1351 935a568c Florent Chuffart
"strain"
1352 935a568c Florent Chuffart
1353 935a568c Florent Chuffart
The strain to considere.
1354 935a568c Florent Chuffart
1355 935a568c Florent Chuffart
"marker"
1356 935a568c Florent Chuffart
1357 935a568c Florent Chuffart
The marker to considere.
1358 935a568c Florent Chuffart
1359 935a568c Florent Chuffart
"res"
1360 935a568c Florent Chuffart
1361 935a568c Florent Chuffart
Data
1362 935a568c Florent Chuffart
1363 935a568c Florent Chuffart
"all_samples"
1364 935a568c Florent Chuffart
1365 935a568c Florent Chuffart
Global list of samples.
1366 935a568c Florent Chuffart
1367 935a568c Florent Chuffart
"NEWPLOT"
1368 935a568c Florent Chuffart
1369 935a568c Florent Chuffart
If FALSE the curve will be add to the current plot.
1370 935a568c Florent Chuffart
1371 935a568c Florent Chuffart
1372 935a568c Florent Chuffart
Author(s)
1373 935a568c Florent Chuffart
~~~~~~~~~
1374 935a568c Florent Chuffart
1375 935a568c Florent Chuffart
Florent Chuffart
1376 935a568c Florent Chuffart
1377 935a568c Florent Chuffart
R: Remove wp nucs from common nucs list.
1378 935a568c Florent Chuffart
1379 935a568c Florent Chuffart
1380 935a568c Florent Chuffart
Remove wp nucs from common nucs list.
1381 935a568c Florent Chuffart
-------------------------------------
1382 935a568c Florent Chuffart
1383 935a568c Florent Chuffart
1384 935a568c Florent Chuffart
Description
1385 935a568c Florent Chuffart
~~~~~~~~~~~
1386 935a568c Florent Chuffart
1387 935a568c Florent Chuffart
It is based on common wp nucs index on nucs and region.
1388 935a568c Florent Chuffart
1389 935a568c Florent Chuffart
1390 935a568c Florent Chuffart
Usage
1391 935a568c Florent Chuffart
~~~~~
1392 935a568c Florent Chuffart
1393 935a568c Florent Chuffart
   remove_aligned_wp(strain_maps, roi_index, tmp_common_nucs, strain)
1394 935a568c Florent Chuffart
1395 935a568c Florent Chuffart
1396 935a568c Florent Chuffart
Arguments
1397 935a568c Florent Chuffart
~~~~~~~~~
1398 935a568c Florent Chuffart
1399 935a568c Florent Chuffart
"strain_maps"
1400 935a568c Florent Chuffart
1401 935a568c Florent Chuffart
Nuc maps.
1402 935a568c Florent Chuffart
1403 935a568c Florent Chuffart
"roi_index"
1404 935a568c Florent Chuffart
1405 935a568c Florent Chuffart
The region of interest index.
1406 935a568c Florent Chuffart
1407 935a568c Florent Chuffart
"tmp_common_nucs"
1408 935a568c Florent Chuffart
1409 935a568c Florent Chuffart
the list of wp nucs.
1410 935a568c Florent Chuffart
1411 935a568c Florent Chuffart
"strain"
1412 935a568c Florent Chuffart
1413 935a568c Florent Chuffart
The strain to consider.
1414 935a568c Florent Chuffart
1415 935a568c Florent Chuffart
1416 935a568c Florent Chuffart
Author(s)
1417 935a568c Florent Chuffart
~~~~~~~~~
1418 935a568c Florent Chuffart
1419 935a568c Florent Chuffart
Florent Chuffart
1420 935a568c Florent Chuffart
1421 935a568c Florent Chuffart
R: sign from strand
1422 935a568c Florent Chuffart
1423 935a568c Florent Chuffart
1424 935a568c Florent Chuffart
sign from strand
1425 935a568c Florent Chuffart
----------------
1426 935a568c Florent Chuffart
1427 935a568c Florent Chuffart
1428 935a568c Florent Chuffart
Description
1429 935a568c Florent Chuffart
~~~~~~~~~~~
1430 935a568c Florent Chuffart
1431 935a568c Florent Chuffart
Get the sign of strand
1432 935a568c Florent Chuffart
1433 935a568c Florent Chuffart
1434 935a568c Florent Chuffart
Usage
1435 935a568c Florent Chuffart
~~~~~
1436 935a568c Florent Chuffart
1437 935a568c Florent Chuffart
   sign_from_strand(strands)
1438 935a568c Florent Chuffart
1439 935a568c Florent Chuffart
1440 935a568c Florent Chuffart
Arguments
1441 935a568c Florent Chuffart
~~~~~~~~~
1442 935a568c Florent Chuffart
1443 935a568c Florent Chuffart
+-----------------+------+
1444 935a568c Florent Chuffart
+-----------------+------+
1445 935a568c Florent Chuffart
1446 935a568c Florent Chuffart
1447 935a568c Florent Chuffart
Value
1448 935a568c Florent Chuffart
~~~~~
1449 935a568c Florent Chuffart
1450 935a568c Florent Chuffart
If strand in forward then returns 1 else returns -1
1451 935a568c Florent Chuffart
1452 935a568c Florent Chuffart
1453 935a568c Florent Chuffart
Author(s)
1454 935a568c Florent Chuffart
~~~~~~~~~
1455 935a568c Florent Chuffart
1456 935a568c Florent Chuffart
Florent Chuffart
1457 935a568c Florent Chuffart
1458 935a568c Florent Chuffart
R: Substract to a list of regions an other list of regions that...
1459 935a568c Florent Chuffart
1460 935a568c Florent Chuffart
1461 935a568c Florent Chuffart
Substract to a list of regions an other list of regions that intersect it.
1462 935a568c Florent Chuffart
--------------------------------------------------------------------------
1463 935a568c Florent Chuffart
1464 935a568c Florent Chuffart
1465 935a568c Florent Chuffart
Description
1466 935a568c Florent Chuffart
~~~~~~~~~~~
1467 935a568c Florent Chuffart
1468 935a568c Florent Chuffart
This fucntion embed a recursive part. It occurs when a substracted
1469 935a568c Florent Chuffart
region split an original region on two.
1470 935a568c Florent Chuffart
1471 935a568c Florent Chuffart
1472 935a568c Florent Chuffart
Usage
1473 935a568c Florent Chuffart
~~~~~
1474 935a568c Florent Chuffart
1475 935a568c Florent Chuffart
   substract_region(region1, region2)
1476 935a568c Florent Chuffart
1477 935a568c Florent Chuffart
1478 935a568c Florent Chuffart
Arguments
1479 935a568c Florent Chuffart
~~~~~~~~~
1480 935a568c Florent Chuffart
1481 935a568c Florent Chuffart
"region1"
1482 935a568c Florent Chuffart
1483 935a568c Florent Chuffart
Original regions.
1484 935a568c Florent Chuffart
1485 935a568c Florent Chuffart
"region2"
1486 935a568c Florent Chuffart
1487 935a568c Florent Chuffart
Regions to substract.
1488 935a568c Florent Chuffart
1489 935a568c Florent Chuffart
1490 935a568c Florent Chuffart
Author(s)
1491 935a568c Florent Chuffart
~~~~~~~~~
1492 935a568c Florent Chuffart
1493 935a568c Florent Chuffart
Florent Chuffart
1494 935a568c Florent Chuffart
1495 8e9facd8 Florent Chuffart
R: Switch a pairlist
1496 8e9facd8 Florent Chuffart
1497 8e9facd8 Florent Chuffart
1498 8e9facd8 Florent Chuffart
Switch a pairlist
1499 8e9facd8 Florent Chuffart
-----------------
1500 8e9facd8 Florent Chuffart
1501 8e9facd8 Florent Chuffart
1502 8e9facd8 Florent Chuffart
Description
1503 8e9facd8 Florent Chuffart
~~~~~~~~~~~
1504 8e9facd8 Florent Chuffart
1505 8e9facd8 Florent Chuffart
Take a pairlist key:value and return the switched pairlist value:key.
1506 8e9facd8 Florent Chuffart
1507 8e9facd8 Florent Chuffart
1508 8e9facd8 Florent Chuffart
Usage
1509 8e9facd8 Florent Chuffart
~~~~~
1510 8e9facd8 Florent Chuffart
1511 8e9facd8 Florent Chuffart
   switch_pairlist(l)
1512 8e9facd8 Florent Chuffart
1513 8e9facd8 Florent Chuffart
1514 8e9facd8 Florent Chuffart
Arguments
1515 8e9facd8 Florent Chuffart
~~~~~~~~~
1516 8e9facd8 Florent Chuffart
1517 8e9facd8 Florent Chuffart
"l"
1518 8e9facd8 Florent Chuffart
1519 8e9facd8 Florent Chuffart
The pairlist to switch.
1520 8e9facd8 Florent Chuffart
1521 8e9facd8 Florent Chuffart
1522 8e9facd8 Florent Chuffart
Value
1523 8e9facd8 Florent Chuffart
~~~~~
1524 8e9facd8 Florent Chuffart
1525 8e9facd8 Florent Chuffart
The switched pairlist.
1526 8e9facd8 Florent Chuffart
1527 8e9facd8 Florent Chuffart
1528 8e9facd8 Florent Chuffart
Author(s)
1529 8e9facd8 Florent Chuffart
~~~~~~~~~
1530 8e9facd8 Florent Chuffart
1531 8e9facd8 Florent Chuffart
Florent Chuffart
1532 8e9facd8 Florent Chuffart
1533 8e9facd8 Florent Chuffart
1534 8e9facd8 Florent Chuffart
Examples
1535 8e9facd8 Florent Chuffart
~~~~~~~~
1536 8e9facd8 Florent Chuffart
1537 8e9facd8 Florent Chuffart
   l = list(key1 = "value1", key2 = "value2")
1538 8e9facd8 Florent Chuffart
   print(switch_pairlist(l))
1539 8e9facd8 Florent Chuffart
1540 935a568c Florent Chuffart
R: Translate a list of regions from a strain ref to another.
1541 935a568c Florent Chuffart
1542 935a568c Florent Chuffart
1543 935a568c Florent Chuffart
Translate a list of regions from a strain ref to another.
1544 935a568c Florent Chuffart
---------------------------------------------------------
1545 935a568c Florent Chuffart
1546 935a568c Florent Chuffart
1547 935a568c Florent Chuffart
Description
1548 935a568c Florent Chuffart
~~~~~~~~~~~
1549 935a568c Florent Chuffart
1550 935a568c Florent Chuffart
This function is an eloborated call to translate_roi.
1551 935a568c Florent Chuffart
1552 935a568c Florent Chuffart
1553 935a568c Florent Chuffart
Usage
1554 935a568c Florent Chuffart
~~~~~
1555 935a568c Florent Chuffart
1556 8e9facd8 Florent Chuffart
   translate_regions(regions, combi, roi_index, config = NULL, roi)
1557 935a568c Florent Chuffart
1558 935a568c Florent Chuffart
1559 935a568c Florent Chuffart
Arguments
1560 935a568c Florent Chuffart
~~~~~~~~~
1561 935a568c Florent Chuffart
1562 935a568c Florent Chuffart
"regions"
1563 935a568c Florent Chuffart
1564 935a568c Florent Chuffart
Regions to be translated.
1565 935a568c Florent Chuffart
1566 935a568c Florent Chuffart
"combi"
1567 935a568c Florent Chuffart
1568 935a568c Florent Chuffart
Combination of strains.
1569 935a568c Florent Chuffart
1570 935a568c Florent Chuffart
"roi_index"
1571 935a568c Florent Chuffart
1572 935a568c Florent Chuffart
The region of interest index.
1573 935a568c Florent Chuffart
1574 8e9facd8 Florent Chuffart
"config"
1575 8e9facd8 Florent Chuffart
1576 8e9facd8 Florent Chuffart
GLOBAL config variable
1577 8e9facd8 Florent Chuffart
1578 935a568c Florent Chuffart
"roi"
1579 935a568c Florent Chuffart
1580 935a568c Florent Chuffart
The region of interest.
1581 935a568c Florent Chuffart
1582 935a568c Florent Chuffart
1583 935a568c Florent Chuffart
Author(s)
1584 935a568c Florent Chuffart
~~~~~~~~~
1585 935a568c Florent Chuffart
1586 935a568c Florent Chuffart
Florent Chuffart
1587 935a568c Florent Chuffart
1588 935a568c Florent Chuffart
R: Translate coords of a genome region.
1589 935a568c Florent Chuffart
1590 935a568c Florent Chuffart
1591 935a568c Florent Chuffart
Translate coords of a genome region.
1592 935a568c Florent Chuffart
------------------------------------
1593 935a568c Florent Chuffart
1594 935a568c Florent Chuffart
1595 935a568c Florent Chuffart
Description
1596 935a568c Florent Chuffart
~~~~~~~~~~~
1597 935a568c Florent Chuffart
1598 935a568c Florent Chuffart
This function is used in the examples, usualy you have to define your
1599 935a568c Florent Chuffart
own translation function and overwrite this one using *unlockBinding*
1600 935a568c Florent Chuffart
features. Please, refer to the example.
1601 935a568c Florent Chuffart
1602 935a568c Florent Chuffart
1603 935a568c Florent Chuffart
Usage
1604 935a568c Florent Chuffart
~~~~~
1605 935a568c Florent Chuffart
1606 8e9facd8 Florent Chuffart
   translate_roi(roi, strain2, config = NULL, big_roi = NULL)
1607 935a568c Florent Chuffart
1608 935a568c Florent Chuffart
1609 935a568c Florent Chuffart
Arguments
1610 935a568c Florent Chuffart
~~~~~~~~~
1611 935a568c Florent Chuffart
1612 935a568c Florent Chuffart
"roi"
1613 935a568c Florent Chuffart
1614 935a568c Florent Chuffart
Original genome region of interest.
1615 935a568c Florent Chuffart
1616 935a568c Florent Chuffart
"strain2"
1617 935a568c Florent Chuffart
1618 935a568c Florent Chuffart
The strain in wich you want the genome region of interest.
1619 935a568c Florent Chuffart
1620 8e9facd8 Florent Chuffart
"config"
1621 935a568c Florent Chuffart
1622 8e9facd8 Florent Chuffart
GLOBAL config variable
1623 935a568c Florent Chuffart
1624 8e9facd8 Florent Chuffart
"big_roi"
1625 935a568c Florent Chuffart
1626 8e9facd8 Florent Chuffart
A largest region than roi use to filter c2c if it is needed.
1627 935a568c Florent Chuffart
1628 935a568c Florent Chuffart
1629 935a568c Florent Chuffart
Author(s)
1630 935a568c Florent Chuffart
~~~~~~~~~
1631 935a568c Florent Chuffart
1632 935a568c Florent Chuffart
Florent Chuffart
1633 935a568c Florent Chuffart
1634 935a568c Florent Chuffart
1635 935a568c Florent Chuffart
Examples
1636 935a568c Florent Chuffart
~~~~~~~~
1637 935a568c Florent Chuffart
1638 935a568c Florent Chuffart
   # Define new translate_roi function...
1639 8e9facd8 Florent Chuffart
   translate_roi = function(roi, strain2, config) {
1640 935a568c Florent Chuffart
       strain1 = roi$strain_ref
1641 935a568c Florent Chuffart
       if (strain1 == strain2) {
1642 935a568c Florent Chuffart
           return(roi)
1643 935a568c Florent Chuffart
       } else {
1644 935a568c Florent Chuffart
         stop("Here is my new translate_roi function...")
1645 935a568c Florent Chuffart
       }
1646 935a568c Florent Chuffart
   }
1647 935a568c Florent Chuffart
   # Binding it by uncomment follwing lines.
1648 935a568c Florent Chuffart
   # unlockBinding("translate_roi", as.environment("package:nm"))
1649 935a568c Florent Chuffart
   # unlockBinding("translate_roi", getNamespace("nm"))
1650 935a568c Florent Chuffart
   # assign("translate_roi", translate_roi, "package:nm")
1651 935a568c Florent Chuffart
   # assign("translate_roi", translate_roi, getNamespace("nm"))
1652 935a568c Florent Chuffart
   # lockBinding("translate_roi", getNamespace("nm"))
1653 935a568c Florent Chuffart
   # lockBinding("translate_roi", as.environment("package:nm"))
1654 935a568c Florent Chuffart
1655 935a568c Florent Chuffart
R: Aggregate regions that intersect themnselves.
1656 935a568c Florent Chuffart
1657 935a568c Florent Chuffart
1658 935a568c Florent Chuffart
Aggregate regions that intersect themnselves.
1659 935a568c Florent Chuffart
---------------------------------------------
1660 935a568c Florent Chuffart
1661 935a568c Florent Chuffart
1662 935a568c Florent Chuffart
Description
1663 935a568c Florent Chuffart
~~~~~~~~~~~
1664 935a568c Florent Chuffart
1665 935a568c Florent Chuffart
This function is based on sort of lower bounds to detect regions that
1666 935a568c Florent Chuffart
intersect. We compare lower bound and upper bound of the porevious
1667 935a568c Florent Chuffart
item. This function embed a while loop and break break regions list
1668 935a568c Florent Chuffart
become stable.
1669 935a568c Florent Chuffart
1670 935a568c Florent Chuffart
1671 935a568c Florent Chuffart
Usage
1672 935a568c Florent Chuffart
~~~~~
1673 935a568c Florent Chuffart
1674 935a568c Florent Chuffart
   union_regions(regions)
1675 935a568c Florent Chuffart
1676 935a568c Florent Chuffart
1677 935a568c Florent Chuffart
Arguments
1678 935a568c Florent Chuffart
~~~~~~~~~
1679 935a568c Florent Chuffart
1680 935a568c Florent Chuffart
"regions"
1681 935a568c Florent Chuffart
1682 935a568c Florent Chuffart
The Regions to be aggregated
1683 935a568c Florent Chuffart
1684 935a568c Florent Chuffart
1685 935a568c Florent Chuffart
Author(s)
1686 935a568c Florent Chuffart
~~~~~~~~~
1687 935a568c Florent Chuffart
1688 935a568c Florent Chuffart
Florent Chuffart
1689 935a568c Florent Chuffart
1690 935a568c Florent Chuffart
R: Watching analysis of samples
1691 935a568c Florent Chuffart
1692 935a568c Florent Chuffart
1693 935a568c Florent Chuffart
Watching analysis of samples
1694 935a568c Florent Chuffart
----------------------------
1695 935a568c Florent Chuffart
1696 935a568c Florent Chuffart
1697 935a568c Florent Chuffart
Description
1698 935a568c Florent Chuffart
~~~~~~~~~~~
1699 935a568c Florent Chuffart
1700 935a568c Florent Chuffart
This function allows to view analysis for a particuler region of the
1701 935a568c Florent Chuffart
genome.
1702 935a568c Florent Chuffart
1703 935a568c Florent Chuffart
1704 935a568c Florent Chuffart
Usage
1705 935a568c Florent Chuffart
~~~~~
1706 935a568c Florent Chuffart
1707 935a568c Florent Chuffart
   watch_samples(replicates, read_length, plot_ref_genome = TRUE,
1708 935a568c Florent Chuffart
       plot_arrow_raw_reads = TRUE, plot_arrow_nuc_reads = TRUE,
1709 935a568c Florent Chuffart
       plot_squared_reads = TRUE, plot_coverage = FALSE, plot_gaussian_reads = TRUE,
1710 935a568c Florent Chuffart
       plot_gaussian_unified_reads = TRUE, plot_ellipse_nucs = TRUE,
1711 21b8928f Florent Chuffart
       change_col = TRUE, plot_wp_nucs = TRUE, plot_wp_nuc_model = TRUE,
1712 21b8928f Florent Chuffart
       plot_common_nucs = TRUE, plot_anovas = FALSE, plot_anova_boxes = FALSE,
1713 21b8928f Florent Chuffart
       plot_wp_nucs_4_nonmnase = FALSE, plot_chain = FALSE, aggregated_intra_strain_nucs = NULL,
1714 21b8928f Florent Chuffart
       aligned_inter_strain_nucs = NULL, height = 10, config = NULL)
1715 935a568c Florent Chuffart
1716 935a568c Florent Chuffart
1717 935a568c Florent Chuffart
Arguments
1718 935a568c Florent Chuffart
~~~~~~~~~
1719 935a568c Florent Chuffart
1720 935a568c Florent Chuffart
"replicates"
1721 935a568c Florent Chuffart
1722 935a568c Florent Chuffart
replicates under the form...
1723 935a568c Florent Chuffart
1724 935a568c Florent Chuffart
"read_length"
1725 935a568c Florent Chuffart
1726 935a568c Florent Chuffart
length of the reads
1727 935a568c Florent Chuffart
1728 935a568c Florent Chuffart
"plot_ref_genome"
1729 935a568c Florent Chuffart
1730 935a568c Florent Chuffart
Plot (or not) reference genome.
1731 935a568c Florent Chuffart
1732 935a568c Florent Chuffart
"plot_arrow_raw_reads"
1733 935a568c Florent Chuffart
1734 935a568c Florent Chuffart
Plot (or not) arrows for raw reads.
1735 935a568c Florent Chuffart
1736 935a568c Florent Chuffart
"plot_arrow_nuc_reads"
1737 935a568c Florent Chuffart
1738 935a568c Florent Chuffart
Plot (or not) arrows for reads aasiocied to a nucleosome.
1739 935a568c Florent Chuffart
1740 935a568c Florent Chuffart
"plot_squared_reads"
1741 935a568c Florent Chuffart
1742 935a568c Florent Chuffart
Plot (or not) reads in the square fashion.
1743 935a568c Florent Chuffart
1744 935a568c Florent Chuffart
"plot_coverage"
1745 935a568c Florent Chuffart
1746 935a568c Florent Chuffart
Plot (or not) reads in the covergae fashion. fashion.
1747 935a568c Florent Chuffart
1748 935a568c Florent Chuffart
"plot_gaussian_reads"
1749 935a568c Florent Chuffart
1750 935a568c Florent Chuffart
Plot (or not) gaussian model of a F anf R reads.
1751 935a568c Florent Chuffart
1752 935a568c Florent Chuffart
"plot_gaussian_unified_reads"
1753 935a568c Florent Chuffart
1754 935a568c Florent Chuffart
Plot (or not) gaussian model of a nuc.
1755 935a568c Florent Chuffart
1756 935a568c Florent Chuffart
"plot_ellipse_nucs"
1757 935a568c Florent Chuffart
1758 935a568c Florent Chuffart
Plot (or not) ellipse for a nuc.
1759 935a568c Florent Chuffart
1760 21b8928f Florent Chuffart
"change_col"
1761 21b8928f Florent Chuffart
1762 21b8928f Florent Chuffart
Change the color of each nucleosome.
1763 21b8928f Florent Chuffart
1764 935a568c Florent Chuffart
"plot_wp_nucs"
1765 935a568c Florent Chuffart
1766 935a568c Florent Chuffart
Plot (or not) cluster of nucs
1767 935a568c Florent Chuffart
1768 935a568c Florent Chuffart
"plot_wp_nuc_model"
1769 935a568c Florent Chuffart
1770 935a568c Florent Chuffart
Plot (or not) gaussian model for a cluster of nucs
1771 935a568c Florent Chuffart
1772 935a568c Florent Chuffart
"plot_common_nucs"
1773 935a568c Florent Chuffart
1774 935a568c Florent Chuffart
Plot (or not) aligned reads.
1775 935a568c Florent Chuffart
1776 935a568c Florent Chuffart
"plot_anovas"
1777 935a568c Florent Chuffart
1778 935a568c Florent Chuffart
Plot (or not) scatter for each nuc.
1779 935a568c Florent Chuffart
1780 935a568c Florent Chuffart
"plot_anova_boxes"
1781 935a568c Florent Chuffart
1782 935a568c Florent Chuffart
Plot (or not) boxplot for each nuc.
1783 935a568c Florent Chuffart
1784 935a568c Florent Chuffart
"plot_wp_nucs_4_nonmnase"
1785 935a568c Florent Chuffart
1786 935a568c Florent Chuffart
Plot (or not) clusters for non inputs samples.
1787 935a568c Florent Chuffart
1788 21b8928f Florent Chuffart
"plot_chain"
1789 21b8928f Florent Chuffart
1790 21b8928f Florent Chuffart
Plot (or not) clusterised nuceosomes between mnase samples.
1791 21b8928f Florent Chuffart
1792 935a568c Florent Chuffart
"aggregated_intra_strain_nucs"
1793 935a568c Florent Chuffart
1794 935a568c Florent Chuffart
list of aggregated intra strain nucs. If NULL, it will be computed.
1795 935a568c Florent Chuffart
1796 935a568c Florent Chuffart
"aligned_inter_strain_nucs"
1797 935a568c Florent Chuffart
1798 935a568c Florent Chuffart
list of aligned inter strain nucs. If NULL, it will be computed.
1799 935a568c Florent Chuffart
1800 935a568c Florent Chuffart
"height"
1801 935a568c Florent Chuffart
1802 935a568c Florent Chuffart
Number of reads in per million read for each sample, graphical
1803 935a568c Florent Chuffart
parametre for the y axis.
1804 935a568c Florent Chuffart
1805 8e9facd8 Florent Chuffart
"config"
1806 8e9facd8 Florent Chuffart
1807 8e9facd8 Florent Chuffart
GLOBAL config variable
1808 8e9facd8 Florent Chuffart
1809 935a568c Florent Chuffart
1810 935a568c Florent Chuffart
Author(s)
1811 935a568c Florent Chuffart
~~~~~~~~~
1812 935a568c Florent Chuffart
1813 935a568c Florent Chuffart
Florent Chuffart