Cnv Visualisation
1
0
Entering edit mode
13.0 years ago
User 7572 • 0

Dear All, I need to visualize my CNV data in the same way as it in this page. Could you please help me out???

http://www.biomedcentral.com/1471-2164/12/414/figure/F1

Input format is something like this:

Chr StPos EndPos sizeofCnv(kb) CNV(loss/gain) SDoverlap(0/1)

Thanks a lot

cnv visualization • 3.0k views
ADD COMMENT
0
Entering edit mode

If you post an example data file you might get a response that includes some R code and example output...

ADD REPLY
0
Entering edit mode

Dear Malachig, My input file looks like this...

Chr StPos EndPos Bins CN SD

10 1 1000 1 0 0 10 1001 2000 1 4 1 10 2001 3000 1 4 1 10 3001 4000 1 4 1 10 4001 5000 1 4 1 10 5001 6000 1 1 0 10 6001 7000 1 2 0 10 7001 8000 1 10 0 10 8001 9000 1 2 0 10 9001 10000 1 2 0 10 10001 11000 1 2 0 10 11001 12000 1 2 0 Thanks a lot

ADD REPLY
0
Entering edit mode

each line will be after each other not like the one displayed here. Sorry

ADD REPLY
3
Entering edit mode
13.0 years ago

It looks like they might have just generated a horizontal stacked bar graph. Each stacked segment can be defined with your raw data. So a CNV segment will just be another bar in the same stack.

You can probably use R to generate something similar. You'll have to write some scripts to transform your data into a format suitable for R.

Personally, I like using [?]ggplot2[?] to generated my graphs.

ADD COMMENT
0
Entering edit mode

Agreed - looks like a custom R script to me.

ADD REPLY
0
Entering edit mode

I am new to R so could you please suggest me a way so that I can try myself? My data is in this format:

Chr StPos EndPos Bins CN SD

Thanks a lot,

ADD REPLY

Login before adding your answer.

Traffic: 1347 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