Displaying 2 results from an estimated 2 matches for "pcaresults".
Did you mean:
pcaresult
2010 Dec 17
2
Extract subset of rows
Hi,
I have two matrices with a common field = species what i want to do is make a matrix that combines the data held in the other two based on the species name.
I.e ( simple example)
Matrix 1 - monocot
SPECIES V1
A 2
B 3
C 4
D 5
Matrix 2 - PCAresults
SPECIES V2
A 0.2
B 0.3
C 4.1
D 3.2
matrix 3 - What i want
SPECIES V1 V2
A 2 0.2
B 3 0.3
C 4 4.1
D 5 3.2
my attempt has been this
test <-monocot[which(monocot$SPECIES%in%PCAresults$SPECIES),]
But this returns matrix with only those found in each but doesn't "...
2012 May 07
3
How to plot PCA output?
I have a decent sized matrix (36 x 11,000) that I have preformed a PCA on
with prcomp(), but due to the large number of variables I can't plot the
result with biplot(). How else can I plot the PCA output?
I tried posting this before, but got no responses so I'm trying again.
Surely this is a common problem, but I can't find a solution with google?
The University of Dundee is a