Révision 7e2d37e1 doc/sphinx_doc/rref.rst

b/doc/sphinx_doc/rref.rst
100 100
of their center. Adajacent nucleosomes are compared two by two.
101 101
Comparison is based on a log likelihood ratio score. The issue of
102 102
comparison is adjacents nucleosomes merge or separation. Finally the
103
function returns a list of clusters and all computed *lod\_scores*. Each
103
function returns a list of clusters and all computed *llr\_scores*. Each
104 104
cluster ows an attribute *wp* for "well positionned". This attribute is
105 105
set as *TRUE* if the cluster is composed of exactly one nucleosomes of
106 106
each sample.
......
110 110

  
111 111
::
112 112

  
113
    aggregate_intra_strain_nucs(samples, lod_thres = 20, coord_max = 2e+07)
113
    aggregate_intra_strain_nucs(samples, llr_thres = 20, coord_max = 2e+07)
114 114

  
115 115
Arguments
116 116
~~~~~~~~~
......
121 121
marker=..., strain=..., roi=..., inputs=..., outputs=...)* with *roi =
122 122
list(name=..., begin=..., end=..., chr=..., genome=...)*.
123 123

  
124
``lod_thres``
124
``llr_thres``
125 125

  
126 126
Log likelihood ration threshold.
127 127

  
......
132 132
Value
133 133
~~~~~
134 134

  
135
Returns a list of clusterized nucleosomes, and all computed lod scores.
135
Returns a list of clusterized nucleosomes, and all computed llr scores.
136 136

  
137 137
Author(s)
138 138
~~~~~~~~~
......
184 184
::
185 185

  
186 186
    align_inter_strain_nucs(replicates, wp_nucs_strain_ref1 = NULL, 
187
        wp_nucs_strain_ref2 = NULL, corr_thres = 0.5, lod_thres = 100, 
187
        wp_nucs_strain_ref2 = NULL, corr_thres = 0.5, llr_thres = 100, 
188 188
        config = NULL, ...)
189 189

  
190 190
Arguments
......
208 208

  
209 209
Correlation threshold.
210 210

  
211
``lod_thres``
211
``llr_thres``
212 212

  
213 213
LOD cut off.
214 214

  
......
224 224
Value
225 225
~~~~~
226 226

  
227
Returns a list of clusterized nucleosomes, and all computed lod scores.
227
Returns a list of clusterized nucleosomes, and all computed llr scores.
228 228

  
229 229
Author(s)
230 230
~~~~~~~~~
......
1182 1182
Description
1183 1183
~~~~~~~~~~~
1184 1184

  
1185
Compute the likelihood log of two set of value from two models Vs. a
1186
unique model.
1185
Compute the log likelihood ratio of two or more set of value.
1187 1186

  
1188 1187
Usage
1189 1188
~~~~~
1190 1189

  
1191 1190
::
1192 1191

  
1193
    lod_score_vecs(x, y)
1192
    llr_score_nvecs(xs)
1194 1193

  
1195 1194
Arguments
1196 1195
~~~~~~~~~
1197 1196

  
1198
``x``
1199

  
1200
First vector.
1201

  
1202
``y``
1197
``xs``
1203 1198

  
1204
Second vector.
1199
list of vectors.
1205 1200

  
1206 1201
Value
1207 1202
~~~~~
1208 1203

  
1209
Returns the likelihood ratio.
1204
Returns the log likelihood ratio.
1210 1205

  
1211 1206
Author(s)
1212 1207
~~~~~~~~~
......
1229 1224
    lines(min:max,dnorm(min:max,mean1,sd1)*card1,col=2)
1230 1225
    lines(min:max,dnorm(min:max,mean2,sd2)*card2,col=3)
1231 1226
    lines(min:max,dnorm(min:max,mean(c(x1,x2)),sd(c(x1,x2)))*card2,col=4)
1232
    lod_score_vecs(x1,x2)
1227
    llr_score_nvecs(list(x1,x2))
1233 1228

  
1234 1229
R: nm
1235 1230

  
......
1252 1247
+---------------+---------------------------------------------------+
1253 1248
| Author:       | Florent Chuffart                                  |
1254 1249
+---------------+---------------------------------------------------+
1255
| Version:      | 2.3.41                                            |
1250
| Version:      | 2.3.42                                            |
1256 1251
+---------------+---------------------------------------------------+
1257 1252
| License:      | CeCILL                                            |
1258 1253
+---------------+---------------------------------------------------+

Formats disponibles : Unified diff