Chromosomeplot
plz plz can somebody tell me the what should be the input to chromosome plot function.....??? and how do i get it if i have only human chromosome image??? plz plz somebody help me.....................
• 2,096 views
•
link
1 answer
I found some input for chromosome plot function(http://www.biostars.org/post/show/378/drawing-chromosome-ideogams-with-data/#437):
# prepareGenomePlot example
library(quantsmooth)
# construct genomic positions
CHR<-sample(22,40,replace=TRUE) # Chromosomes
MapInfo<-lengthChromosome(CHR,"bases")*runif(length(CHR)) # position on chromosome
chrompos<-prepareGenomePlot(data.frame(CHR,MapInfo),paintCytobands = TRUE, organism="hsa")
# Chrompos returns a matrix with the positions of the elements on the plot
# You can use all kinds of base graphics functions to annotate the chromosomes
points(chrompos[,2],chrompos[,1]+0.1,pch="x",col="red")
# Show connection between 3rd and 4th element
segments(chrompos[3,2],chrompos[3,1],chrompos[4,2],chrompos[4,1],col="blue",lwd=2)
if it doesn't work give more information about everything.
• 0 views
•
link
Log in to answer this question.
How should we help you with this question? What chromosome plot function? which language? so plz plz provide context or I close it, and plz plz stop begging! spend your time on providing the information we need to help you!
hahahaha what a response!!