Displaying 1 result from an estimated 1 matches for "sib4".
Did you mean:
sib
2007 Oct 30
0
Plotting question: how to plot SNP location data?
...ct locations of each SNP. Is it possible to do that using
the image-function? Below I have tried to solve the problem using the
basic plot function but I cannot include the colors to that plot. How
would that be possible?
colnames(z) <- c("sib1","sib2","sib3","sib4")
rownames(z) <- paste(rep("SNP", 20), 1:20)
z.t <- t(z)
#snploc$location represents the location of the SNP in the chromosome
snploc <- data.frame(SNP=paste(rep("SNP", 20), 1:20),
location=c(4.2,5.8,6.9,3,8,7,5,4,3.6,4.3,4.6,6.6,5.2,6,9,9.4,12,16,14,12
.3))
snplo...