Question: Re PCAtools and data entry - novice having issues
gravatar for j.marchesi
25 days ago by
j.marchesi0 wrote:

Hi Guys

new to using PCAtools and have issues getting my data in. I have 2 data files, one is a matrix of features against samples e.g. gene expression data for a sample, and many samples, the other is a csv file of the sample metadata - where the sample came from, the patients disease status etc.

Any ideas how I get the two into PCAtools so I can create clustering and ellipses in PCA biplots etc?

I can get the matrix in, but I can't work out how to get the metadata in so it matches the matrix.



r pcatools • 96 views
ADD COMMENTlink modified 25 days ago by Kevin Blighe63k • written 25 days ago by j.marchesi0
gravatar for Kevin Blighe
25 days ago by
Kevin Blighe63k
Kevin Blighe63k wrote:

Hey Julian, I also received your e-mail. Basically, the rownames of the metadata has to equal the colnames of your input data. In your case, I think that you just have to set the rownames of your env object.

I set this strict requirement from the first step in order to ensure that the numerical data is perfectly aligned with the metadata.


ADD COMMENTlink written 25 days ago by Kevin Blighe63k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1563 users visited in the last hour