TickingClock1992 / RIdeogram

165 stars 23 forks source link

Karyotype file of dual comparison error #34

Open Hannah1746 opened 2 years ago

Hannah1746 commented 2 years ago

Hello.

I am trying to run:

require(RIdeogram) library(devtools)

karyotype <- read.table('karyotype.txt', header = T) synteny <- read.table('synteny.txt', header = T)

ideogram(karyotype = karyotype, synteny = synteny)

My files look like: karyotype.txt Chr Start End fill species size color Myx_Chr22 1 47849308 139b08 B 9.5 139b08 Myx_Chr43 1 38023304 139b08 B 9.5 139b08 Myx_Chr27 1 46332826 078dd8 A 9.5 078dd8 Myx_Chr42 1 38410338 078dd8 A 9.5 078dd8

synteny.txt Chr1 start1 end1 Chr2 start2 end2 22 14531668 14595454 27 32941637 32994325 22 14811096 15022136 27 32437958 32709008 22 15667970 15705569 27 31616867 31646678 ...

When I run this code I get this error:

Error in [<-.data.frame(tmp, i, 8, value = c(B = NAreal)) : new columns would leave holes after existing columns

I am just trying to understand what is going on.

Thank you for your time.