Description Usage Arguments Details Value See Also Examples
This is a generic function to plot different information on the variant allele counts. The information to plot is set by the parameter Value which can be eithe rof the following :
Wells allele fraction of the variant
Wells allele counts of the variants
Reads allele fraction of the variant
Reads allele counts of the variants
1 2 3 |
region |
Region to be plotted. If NULL then the whole region covered by the variants will be considered |
samplingRatio |
Ratio of points to plot. Only 1 each samplingRatio points will be plotted. |
main |
The title of the plot. default: None |
x |
an |
Value |
Information to plot. Can be one of WellsFraction, WellsCounts, ReadsFraction, ReadsCounts. |
In both types, the paramater Value allow to specifie which variable will be represented on the y-axis. It can be 'Coverage' for the LFR Average Coverage and 'Length' for the LFR lengths.
”
getVariantAlleleInfo
, getVariantCoverageTable
, VariantAlleleInfo
1 2 3 4 | #Example 1:
vcffile<-system.file('extdata','LFR_11152_Tissue_chr22_1000variants.vcf.gz',package='DigitalPicoTools')
AlleleInfo_df = getVariantAlleleInfo(vcffile)
plot(AlleleInfo_df,'chr22')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.