format_muts | R Documentation |
This function filters hypermutated samples and returns the formatted mutations with the appropriate trinucleotide context
format_muts(mutations, this_genome, filter_hyper_MB = NA)
mutations |
A data frame with the following columns: chr, pos1, pos2, ref, alt, patient
|
this_genome |
The reference genome object of BSgenome |
filter_hyper_MB |
The number of mutations per megabase for which a sample is considered hypermutated. Hypermutated samples will be removed in further analyses. |
a data frame called mutations which has been formatted with an extra column for trinucleotide context
data(cll_mutations) this_genome = BSgenome.Hsapiens.UCSC.hg19::Hsapiens formatted_mutations = format_muts(cll_mutations[1:10,], filter_hyper_MB = 30, this_genome = this_genome)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.