Description Usage Arguments Details
View source: R/shiny_SNPratio.R
Please note that this function is not to be run manually. Wrapper function for SNP-ratio plots specific to the R-shiny application. Calls all functions involved in plotting the SNP-ratio values across chromosome positions.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | shiny_SNPratio(
vcf.list,
wtBulk,
mBulk,
variants,
min.SNPratio,
min.DP,
max.DP,
chrID,
chr,
degree,
span,
ranges
)
|
vcf.list |
object containing meta information and vcf data frame |
wtBulk |
Wild-Type pool |
mBulk |
Mutant pool |
variants |
variants to be considered. Default is "SNP" (allowed: "SNP" or "all") |
min.SNPratio |
min value allowed for the SNP index (default=0.3) |
min.DP |
min value allowed for the read depth (default=50) |
max.DP |
max value allowed for the read depth (default=200) |
chrID |
chromosome ID of interest |
chr |
chromosome name printed on the plot |
degree |
LOESS smoothing degree (default=2) |
span |
LOESS smoothing span (default=0.07) |
ranges |
axes ranges (x,y) |
Wrapper function for generting SNP-ratio plots inside the R-Shiny application. The involved functions are the following (in oder): calc_SNPratio(), filter_SNPratio(), extract_chrIDs() and shinyPlot_SNPratio().
This function is not intended to be run by the user, as it was specifically created to be used by the BSAvis_shiny() function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.