Description Usage Arguments Value Author(s) Examples
Set of functions to operate on NucleotideDistr
objects.
averageND calculates the mean for samples, sumND adds up selected samples' distributions, combineND adds two objects with the same size of distribution matrix, log2ND transforms all numeric data in the object into log space.
1 2 3 4 |
nd, nd1, nd2 |
|
exps |
a pair of numbers of samples in the experiment |
NucleotideDistr
object of the same type as input objects
Michal Okoniewski, Anna Lesniewska
1 2 3 4 5 6 7 8 9 | # if (xmapConnected())
# {
# rs <- newSeqReads(1,1,20000,1)
# nd.cov <- getCoverageFromRS(rs,1:3)
# nd.avg <- averageND(nd.cov,c(1,3))
# nd.sum <- averageND(nd.cov,c(1,3))
# nd.sum <- combineND(nd.cov,nd.cov)
# nd.log <- log2ND(nd.cov)
# }
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.