Description Usage Arguments Value Examples
Plots the number of variants that pass each number of scores. Overlayed with gene.
1 | plotScoreDistribution(df, gene.symbol, save.plot = FALSE, output.dir)
|
df |
Data frame from sorted scored variant file. |
gene.symbol |
HGNC gene symbol of the gene that the variants are within. |
save.plot |
TRUE/FALSE |
output.dir |
Needed if save.plot == TRUE. The directory that the image should be saved to. |
A distribution of the variant scores is plotted and optionally saved to a directory.
1 2 3 4 5 6 7 8 9 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
data("MUC1_variants")
cleanVariants <- removeUnwantedVariants(MUC1_variants)
annotatedVariants <- addVariantAnnotations(cleanVariants, "MUC1")
scoreSortedVariants <- sortScoredVariants(annotatedVariants)
plotScoreDistribution(scoreSortedVariants, "MUC1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.