View source: R/inverse.normalization.R
This function takes a data frame, constructed of model matrix data from a phenotype dataset, and applies the inverse normal transformation to each column matching a certain set of provided conditions. The variables are stratified by sex before application of the transformation. An extension here would be to allow arbitrary stratification variables before transformation.
1 |
df |
data.frame, source data frame containing model matrix data to be transformed |
conditions |
list of logical vectors. each vector should
be of length |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.