Re: [R] PCA: Showing file datalabels on biplot

2010-01-25 Thread colin1
t$sample pca <- prcomp (t(catopsis)) plot(pca, catopsis []) summary(prcomp(catopsis)) biplot(prcomp(catopsis, scale = TRUE)) - Original Message - From: Kevin Wright-5 [via R] To: colin1 Sent: Monday, January 25, 2010 5:04 PM Subject: Re: [R] PCA: Showing file datalabels

[R] PCA: Showing file datalabels on biplot

2010-01-25 Thread colin1
The script below successfully produces a biplot of the data but the 'site names' (rows) and the names of the 'response variables' (columns) are shown as simple numerals (rather than the column and row names). How might I 'enforce' the use of the row/column names used in the datafile (section of da

Re: [R] Mantel results shown in a graphical (histogram) form.

2010-01-22 Thread colin1
Hi! I have managed to sort this problem out by adapting script from a published 'instruction'. This gives: < m1 <- mantelkdist(kdist(data gene, data geo),999) < plot (m1). The script produced two sub-plots: one showing an xy plot of gene(x) end geo(y) data and another showing a histogram of gene-

[R] Mantel results shown in a graphical (histogram) form.

2010-01-07 Thread colin1
I am new at 'R' and not even sure whether I am contacting the appropriate forum!! However, I have carried out several mantel tests (using 'R') on genetic data and would like to plot the results in the form of a histogam of the distribution - and preferably use a procedure that shows the critical '