Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Length scale #18

Open
mxh-persist opened this issue Sep 20, 2020 · 3 comments
Open

Length scale #18

mxh-persist opened this issue Sep 20, 2020 · 3 comments

Comments

@mxh-persist
Copy link

Hello, can you add a chromosome length ruler to this R package?

@TickingClock1992
Copy link
Owner

TickingClock1992 commented Sep 21, 2020

Hello, I modified the current version and added this function. You can set the ruler by the parameter Ruler = 50, meaning the bin of 50 Mb. The default number of tick is five, in this case: 0Mb, 50Mb, 100Mb, 150Mb, 200Mb.
You can download this testing version at https://github.com/TickingClock1992/RIdeogram_test/blob/master/RIdeogram_0.2.3.tar.gz and install this version in a local way.

Running the command as follows:

library("RIdeogram")
ideogram(karyotype = human_karyotype, overlaid = gene_density, Ruler = 50)
convertSVG("chromosome.svg", device = "png")

Then, you can get a figure like this
chromosome

@mxh-persist
Copy link
Author

Hello, thank you very much for replying to my message in time. I have the following problems when doing collinearity through your R package. I am very sorry to disturb you.

Error in cat(polyline, file = output, append = TRUE) :
找不到对象'polyline'

Uploading image.png…

@TickingClock1992
Copy link
Owner

Sorry, I have updated the temporary package to fix this problem. You can download this testing version and try again. However, the chromosome ruler doesn't work for the synteny plotting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants