Rcircos: Need Guidance
2
2
Entering edit mode
11.3 years ago
ChIP ▴ 600

Hi!

I am trying to use RCircos (R version of Circos) to plot Ideogram from my data (set of peaks) which is in genome hg18

sample set of peaks

chr1    9125755    9126385
chr1    9222015    9222867
chr1    9408512    9409751
chr1    9612112    9612961
chr1    9687229    9687962
chr1    9875516    9876245

what I have done in R

library(RCircos)
data<-read.table("peakset")
names(data) = c("Chromosome", "chromStart", "chromEnd")

now data looks like this:

Chromosome chromStart chromEnd
chr1    9125755    9126385
chr1    9222015    9222867
chr1    9408512    9409751
chr1    9612112    9612961
chr1    9687229    9687962
chr1    9875516    9876245

ofcourse there are peaks in other chromosomes as well.

after this I am kind of lost.

Please help, if you have used this tool to plot your data on Ideogram, I know it is bit naive question but please share your knowledge if you have used this tool for the purpose of drawing Ideogram.

Thank you in anticipation.

chip-seq r • 11k views
ADD COMMENT
0
Entering edit mode

Hi, ChIP I am having the same trouble with Rcircos I have tried running the code suggested by R-packages website for the demo human ideogram but I am still getting errors. The main error I am getting is "Some chromosomes in plot data are not in ideogram" and I have tried changing the parameters and use hg38 as cyto.info but still nothing. And my pdf does not open at all saying that is damaged. I was wondering if you have managed to solve your question and you can share your knowledge for this package.

Thank you in advance

ADD REPLY
3
Entering edit mode
11.3 years ago

Have you tried any of the examples in the documentation? They provide good documentation.

http://cran.r-project.org/web/packages/RCircos/RCircos.pdf

# Load RCircos libaray
# __________________________________________________
# xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
library(RCircos);
# Load human chromosome ideogram
# __________________________________________________
# xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
data(UCSC.HG19.Human.CytoBandIdeogram);
# Set RCircso core components
# __________________________________________________
# xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
cyto.info <- UCSC.HG19.Human.CytoBandIdeogram;
chr.exclude <- NULL;
num.inside <- 5;
num.outside <- 0;
## Not run: RCircos.Set.Core.Componentscyto.info,
chr.exclude, num.inside, num.outside);
## End(Not run)
# Initialize graphic device and plot chromosome
# ideogram
# __________________________________________________
# xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
## Not run: RCircos.Set.Plot.Area();
## Not run: RCircos.Chromosome.Ideogram.Plot();
ADD COMMENT
0
Entering edit mode

Hi! I did try but failed. secodly I need hg18 and not 19. :(... Could you please guide me with my data set how can i plot it.

ADD REPLY
0
Entering edit mode

Hello ChIP. This is very difficult request based on what you have provided us and the confines of helping you from a long distance away does not make this easy for anyone to help you. Perhaps it would be best for you to have some one-on-one time with someone who is comfortable with R and will help you through the process. With your request for "Please help me do this..." it's not evident that you have have put any effort into answering your question yet.

ADD REPLY
0
Entering edit mode

how did it fail? remove the comments from '##' Not run: RCircos.Set.Plot.Area(); '##'Not run: RCircos.Chromosome.Ideogram.Plot(); and run them.

ADD REPLY
0
Entering edit mode
6.3 years ago
Andrewoods ▴ 110

Maybe you want to try shinyCircos. It's an interactive APP. https://github.com/venyao/shinyCircos http://shinycircos.ncpgr.cn/

ADD COMMENT
0
Entering edit mode

Please stop spamming posts with the same comment. Create a Tool post to showcase your application.

ADD REPLY

Login before adding your answer.

Traffic: 1838 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6