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
Post a Comment