PCAprep | R Documentation |
Turns a tidy dataframe into a wide dataframe that can be run through prcomp or ropls, keeping group affiliation of the samples.
PCAprep(df)
df |
A tidy dataframe with sample_id, group, feature and value columns. |
A wide dataframe with subject_id and group affiliation as rownames
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.