Entering edit mode
Hello, I would like to plot SNP coordinates (from a VCF file) along chromosomes using the ggbio
package. But I can't succeed in adding the main title:
library(VariantAnnotation) library(ggbio) fl <- system.file("extdata", "ex2.vcf", package="VariantAnnotation") vcf <- readVcf(fl, "hg19") autoplot(rowRanges(vcf), layout="karyogram", main="Test")
However, the resulting plot doesn't have any title. What did I do wrong?
ps: I am using Bioconductor version 3.3 and R version 3.3.1