Displaying 3 results from an estimated 3 matches for "basepairs".
Did you mean:
basepair
2012 Jul 13
2
alternate tick labels and tick marks with lattice xyplot
Hi,
I would like to use xyplot to create a figure. Unfortunately, I cannot find
documentation in xyplot to specify alternating the x-axis tick labels with
the x-axis tick marks. I can do this with the regular R plot function as
follows.
#A small version of my data looks like this
data<-data.frame(matrix(ncol=3,nrow=12))
data[,1]<-rep(c(1,2,3),c(4,4,4))
data[,2]<-rep(c(1,2,3,4),3)
2018 Mar 15
3
stats 'dist' euclidean distance calculation
Hello,
I am working with a matrix of multilocus genotypes for ~180 individual snail samples, with substantial missing data. I am trying to calculate the pairwise genetic distance between individuals using the stats package 'dist' function, using euclidean distance. I took a subset of this dataset (3 samples x 3 loci) to test how euclidean distance is calculated:
3x3 subset used
2007 Dec 03
3
overlapping labels
...uld use another set of
graphical functions (grid or lattice packages).
Does anybody have suggestions?
Thank you,
Filippo Biscarini
PS: These are the lines of codes that I have been using to generate the
plot.
plot(
prova$x,
prova$y,
type="b",
mar=c(0.5,0.5,0.5,0.5),
xlab="basepairs",
ylab=""
);
text(
prova$x,
prova$y,
prova$lab,
pos=3,
offset=2,
cex=0.5
);
[[alternative HTML version deleted]]