getPlots {genotypeeval} | R Documentation |
Getter for VCFQAReport class to return plots slot.
getPlots(Object)
Object |
Object of Class VCFQAReport |
List of named ggplots
vcffn <- system.file("ext-data", "chr22.GRCh38.vcf.gz", package="genotypeeval") mydir <- paste(dirname(vcffn), "/", sep="") myfile <-basename(vcffn) svp <- ScanVcfParam(which=GRanges("22", IRanges(0,200e5)), geno="GT") vcfparams <- VCFQAParam(count.limits=c(3014580000, Inf), readdepth.target = 30) vcf <- ReadVCFData(mydir, myfile, "GRCh38") ev <- VCFEvaluate(vcf, vcfparams) getPlots(ev)