filterGenes | R Documentation |
The main use case for this function is the removal of sex-chromosome genes. Alternatively, filter genes that are not protein-coding.
filterGenes(
obj,
labels = c("X", "Y", "MT"),
featureName = "chromosome_name",
keepOnly = FALSE
)
obj |
ExpressionSet object. |
labels |
Labels of genes to filter or keep, eg. X, Y, and MT |
featureName |
FeatureData column name, eg. chr |
keepOnly |
Filter or keep only the genes with those labels |
Filtered ExpressionSet object
data(skin)
filterGenes(skin,labels = c('X','Y','MT'),featureName='chromosome_name')
filterGenes(skin,labels = 'protein_coding',featureName='gene_biotype',keepOnly=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.