apply.inverse.normalization: Apply inverse normalization to selected columns of a data...

Description Usage Arguments

View source: R/inverse.normalization.R

Description

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.

Usage

1

Arguments

df

data.frame, source data frame containing model matrix data to be transformed

conditions

list of logical vectors. each vector should be of length ncol(df), and should indicate whether a column passes a particular criterion for being included in the transformed set. each vector is effectively logically ORed together.


NCI-CGR/construct.model.matrix documentation built on Aug. 10, 2021, 8:53 a.m.