View source: R/DinucleotideVariantsLib.R
tabToDNVcatalogue | R Documentation |
Convert a data frame containing SNVs and DNVs to a DNV catalogue. The data frame should containt the SNVs and/or DNVs of a single sample. Two SNVs that are next to each other will be combined into a DNV. The data frame should have the following columns: chr, position, REF, ALT.
tabToDNVcatalogue(muttable)
muttable |
data frame with the mutations, formatted with the following column names: chr, position, REF, ALT. |
returns the DNV catalogue for the given sample and mutation list
muttable <- readTable("mutations.tsv")
res <- tabToSNVcatalogue(muttable)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.