subsetSmnvs | R Documentation |
Standard variant filtering and subsetting for variant type used to clean the input dataframe for extractSigsSnv,Indel,Dbs() functions
subsetSmnvs(df, type, chrom.name.style = "UCSC", verbose = F)
df |
A dataframe containing the columns chrom, pos, ref, alt |
type |
Can be 'snv', 'indel', or 'dbs' |
chrom.name.style |
A string indicating the chromosome naming style. This can be for example 'UCSC' ('chrX') or 'NCBI' ('X'). See the documentation for 'GenomeInfoDb::seqlevelsStyle()' for more details. |
verbose |
Show progress messages? |
The filtered dataframe, or an empty dataframe if no variants exist/remain
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.