Description Usage Arguments Value Examples
Analyzes row-wise histograms by selecting the global maximum (0), as well as one further local maximum right (+) and left (-). Can make use of previous/following rows.
1 2 | findCutoffs(data, zeichne = FALSE, ignoreNAs = FALSE, eps = 0.01,
proximity = c(0, 0))
|
data |
Inputdata |
zeichne |
Debugging |
ignoreNAs |
F / T: if NAs occur, proceed, otherwise fail |
eps |
difference between x points (internal calculation) |
proximity |
how many previous / following rows should be considered for cutoff determination? c(prev, folw) |
identified cutoffs
1 2 3 4 5 6 7 8 9 | candMatrix <- data.frame(
smp1=c(-0.097, -1.208,-0.134, 1.732),
smp2=c(-0.006, 0.004, 0.004, -0.001),
smp3=c(0.050, 0.008, 0.008,0.046 ))
rownames(candMatrix) <- c(
"chr1:15865", "chr1:110230252",
"chr1:110254692", "chr3:45838226"
)
findCutoffs(candMatrix, proximity=c(1,0))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.