Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/normalizeCounts.R
Filter count data to remove lowly expressed genes.
1 | filterCounts(counts, cpm.cutoff=0.5, n.samples.cutoff=2, mean.cpm.cutoff=0, lib.sizes=NULL)
|
counts |
numeric data.frame or matrix containing the count data. |
cpm.cutoff |
expression level cutoff defined as the minimum number of counts per million. By default this is set to 0.5 counts per million. |
n.samples.cutoff |
minimum number of samples where a gene should meet the counts per million cutoff ( |
mean.cpm.cutoff |
minimum mean of counts per million cutoff that a gene should meet in order to be kept. When the
value of this argument is larger than 0 then it overrules the other arguments |
lib.sizes |
vector of the total number of reads to be considered per sample/library. If
|
This function removes genes with very low expression level defined in terms of a minimum
number of counts per million occurring in a minimum number of samples. Such a policy was
described by Davis McCarthy in a message at the bioc-sig-sequencing mailing list.
By default, this function keeps genes that are expressed at a level of 0.5 counts per
million or greater in at least two samples. Alternatively, one can use the mean.cpm.cutoff
to set a minimum mean expression level through all the samples.
A matrix of filtered genes.
J.R. Gonzalez and R. Castelo
Davis McCarthy, https://stat.ethz.ch/pipermail/bioc-sig-sequencing/2011-June/002072.html.
1 2 3 4 5 6 7 8 9 |
[1] 25 40
[1] 17 40
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.