View source: R/preprocessing.R
select_genes_on_mutations | R Documentation |
Dataset filtering on genes, based on their mutation count
select_genes_on_mutations(mutmatrix, n, desc = TRUE)
mutmatrix |
input dataset (mutational matrix) to be reduced |
n |
number of genes to be kept |
desc |
TRUE: select the n least mutated genes, FALSE: select the n most mutated genes |
the modified dataset (mutational matrix)
# keep information on the 100 most mutated genes select_genes_on_mutations(example_dataset(), 5) # keep information on the 100 least mutated genes select_genes_on_mutations(example_dataset(), 5, desc = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.