ggbio icon indicating copy to clipboard operation
ggbio copied to clipboard

ideo geom

Open lfaino opened this issue 5 years ago • 5 comments

Hi @tengfei , i was wondering if i can use geom ideo in association to eas. I was trying but apparently i can not

cheers Luigi

lfaino avatar Jan 31 '20 09:01 lfaino

I'm having trouble understanding your question. Btw, @tengfei abandoned this project years ago. I try to keep it working to some degree.

lawremi avatar Jan 31 '20 16:01 lawremi

here the problem: i`m running this line

ggplot() + layout_circle(gr, geom = "link", linked.to = "to.gr", radius = 48, trackWidth = 1, aes(color = seqnames)) + layout_circle(gr, geom = "ideogram", radius = 48, trackWidth = 4, aes(fill=color)) + layout_circle(ideo, geom = "text", aes(label = seqnames), radius = 52, trackWidth = 6)

the geom link is on two genome and what i would like to do is to plot the ideogram in two colors one for each genome.

I thought that using aes in the geom ideogram would work but it is not

lfaino avatar Jan 31 '20 16:01 lfaino

It would help to have a reproducible example, i.e., the gr object in the above.

lawremi avatar Jan 31 '20 17:01 lawremi

here some test files you can use this two files. I have 2 genomes and I want that in the ideogram i get one genome in a color and another in another

that`s it

scriptCirco_Fvert_test.R.txt matchlarger5k.txt

lfaino avatar Feb 01 '20 13:02 lfaino

Hi @lfaino, I tried to reproduce it with the provided files( scriptCirco_Fvert_test.R.txt and matchlarger5k.txt). But it seems it is not enough to reproduce as scriptCirco_Fvert_test.R.txt code relies on another file(listChrMatchFv10027OnFOL), which is not provided. If you can provide it also, we might be able to help out.

sanchit-saini avatar Feb 03 '21 00:02 sanchit-saini