Add main title to ggbio's karyogram
1
0
Entering edit mode
@timotheeflutre-6727
Last seen 4.9 years ago
France

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

ggbio karyogram granges • 1.2k views
ADD COMMENT
1
Entering edit mode
@michael-lawrence-3846
Last seen 2.3 years ago
United States

Should be fixed in 1.21.7.

ADD COMMENT

Login before adding your answer.

Traffic: 731 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6