Skip to content

R-help Digest, Vol 71, Issue 16

1 message · David Duffy

#
On Fri, 16 Jan 2009, r-help-request at r-project.org wrote:
You could probably use the functions in my lodplot package (it includes the
chromosomal band coordinates used by the NCBI Mapviewer)

?chrom.bands
?paint.chromosome

Maybe something like (will need tinkering):

plot(cbind(locus_coordinate[chrom==1],
            rep(2, length(locus_coordinate)[chrom==1]),
      axes=F, xlab=" ", ylab=" "))
paint.chromosome(1, pos=2.2)
points(cbind(locus_coordinate[chrom==1],
              rep(2, length(locus_coordinate)[chrom==1]),
        col="red", cex=4)

Unfortunately for you, the units here are cM ;).

David Duffy.