pruneSamples | R Documentation |
Discarding samples having too few reads mapped.
pruneSamples(rms.obj, mapping.threshold = 0, verbose = TRUE)
rms.obj |
A |
mapping.threshold |
Minimum fraction of reads being mapped. |
verbose |
Turn on/off output text during processing (logical). |
The rms.obj
must be a list with the required data structures. It must have a
Sample.tbl
, which is added to such an object with addSampleTable
. It must
also have a Readcount.mat
, which is added by the readMapper
.
The pruning means sample where the fraction of mapped reads to the total number of reads is below
the threshold set by mapping.threshold
. If very small fraction of reads are mapped, it probably indicates
none of the genomes are present in the sample, and even if abundance estimates can be made they are
also very unreliable in such cases.
An RMS object where the Sample.tbl
and Readcount.mat
have been pruned, i.e.
some samples have been discarded.
Lars Snipen.
RMSobject
, readMapper
, rmscols
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.