Question: Add main title to ggbio's karyogram
0
gravatar for TimothéeFlutre
2.9 years ago by
France
TimothéeFlutre70 wrote:

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 granges karyogram • 639 views
ADD COMMENTlink modified 2.9 years ago by Michael Lawrence11k • written 2.9 years ago by TimothéeFlutre70
Answer: Add main title to ggbio's karyogram
1
gravatar for Michael Lawrence
2.9 years ago by
United States
Michael Lawrence11k wrote:

Should be fixed in 1.21.7.

ADD COMMENTlink written 2.9 years ago by Michael Lawrence11k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 101 users visited in the last hour