PCAprep: PCAprep

View source: R/PCAprep.R

PCAprepR Documentation

PCAprep

Description

Turns a tidy dataframe into a wide dataframe that can be run through prcomp or ropls, keeping group affiliation of the samples.

Usage

PCAprep(df)

Arguments

df

A tidy dataframe with sample_id, group, feature and value columns.

Value

A wide dataframe with subject_id and group affiliation as rownames


AslaugL/thesisToolsOmics documentation built on April 3, 2022, 8:16 p.m.