filter_rare | R Documentation |
Filter genes at a minimum counts per million (CPM) in a minmum number or percent of total samples.
filter_rare(
dat,
min_CPM,
gene_var="ensembl_gene_id",
min_sample=NULL,
min_pct=NULL,
plot=FALSE,
#Deprecated
min.CPM=NULL,
gene.var=NULL,
min.sample=NULL,
min.pct=NULL)
)
dat |
DGEList output by edgeR::DEGList( ) |
min_CPM |
numeric minimum counts per million (CPM) |
gene_var |
character name for column with gene names in dat$genes that matches names in expression data dat$E. Default "ensembl_gene_id" |
min_sample |
numeric minimum number of samples |
min_pct |
numeric minimum percent of samples (0-100) |
plot |
logical if should plot mean variance trends |
min.CPM |
Deprecated form of min_CPM |
gene.var |
Deprecated form of gene_var |
min.sample |
Deprecated form of min_sample |
min.pct |
Deprecated form of min_pct |
DGEList object filtered to not rare genes
dat.filter <- filter_rare(dat = example.dat, min_CPM = 0.1, min_sample = 3,
gene_var="geneName")
dat.filter <- filter_rare(dat = example.dat, min_CPM = 0.1, min_pct = 10,
plot = TRUE, gene_var="geneName")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.