Ideogram Cnv With Bioconductor Group Function Doesn'T Work..
Using Gviz Bioconductor to draw ideogram and CNV .. I have too many lines in the output files so I wanted to group things to make it look better coz I need to represent 6 samples.
library(Gviz)
library(IRanges)
gen <- "mm9"
chr <- "chr1"
itrack <- IdeogramTrack(genome = gen, chromosome = chr)
gtrack <- GenomeAxisTrack()
datnegrev <- read.delim("C:/../mysample1.txt", header = FALSE, sep ="\t")
s <- datnegrev [,2]
e <- datnegrev [,3]
annot = IRanges(start = s, end = e)
# Here I group the all the data together but the output is the same .. as much as lines as before.
aTrack.groups <- AnnotationTrack(start = s, end = e, chromosome = chr, group = rep (s, genome = gen, name = "1iPS"), genome = gen, name = "1iPS")
plotTracks(aTrack.groups, showId = FALSE)
Output file :
http://i46.tinypic.com/iwjdar.jpg
Why the grouping doesn't work ? Should I draw another type of graph instead ?? Maybe heatmap or boxplot ?
• 251 views
•
link
0 answers
No answers yet.
Log in to answer this question.
please do not create multiple questions on the same topic - edit your original question