filter_genes | R Documentation |
filter_genes
filters genes, according to the overall number of counts (across all samples) compatible with the gene.
The filtering also applies to groups of genes with reads/fragments compatible with >1 gene;
in this case, the number of counts considered is across all genes in the group.
filter_genes(BANDITS_data, min_counts_per_gene = 10)
BANDITS_data |
a 'BANDITS_data' object, created with the |
min_counts_per_gene |
the minimum number of counts compatible with a gene (across all samples). |
The function inputs a 'BANDITS_data' object, and returns again a 'BANDITS_data' object after filtering genes and groups of genes.
A BANDITS_data
object.
Simone Tiberi simone.tiberi@uzh.ch
filter_transcripts
, create_data
, BANDITS_data
# load the pre-computed data:
data("input_data", package = "BANDITS")
input_data
# Filter lowly abundant genes:
input_data = filter_genes(input_data, min_counts_per_gene = 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.