Question: Newbie - Adding Labels to Individual Genes with ggbio?
0
4.3 years ago by
fathniz0
United States
fathniz0 wrote:

I am trying to add gene labels to my plot that renders genomic segments using the ggbio package.

I am using the autoplot() function and pass in a GenomicRanges object. The GRange object has a column of metadata labels that I wish to appear on the generated plot on top of each graphed segment.

The question: How to add labels to the ggbio/ggplot2 plot from a metadata column?

My code is as follows, without labels and with g as a GenomicRanges object.

autoplot(g)
modified 4.3 years ago by arfranco130 • written 4.3 years ago by fathniz0
0
4.3 years ago by
arfranco130
European Union
arfranco130 wrote:

We need some more information, such as a couple of lines of your data and their class. You need also to define where you want your labels, if as col or row names

i