r - Different Valuse Returned from Using PCA Function -


can explain me how these different?

#first type of pca.  scales , transposes manually pr.data <- prcomp(scale(t(data)))  #second type of pca pr.data <- prcomp(data, retx=true, scale=true) 

is 1 transposed (the first one) , second 1 not transposed?

i think t(data) affect data because switch positions of "samples vs. features" "features vs. samples." transposing matrix "flip" analysis.


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -