PCAcor: PCA first component correlation

Description Usage Arguments Value

View source: R/PCAcor.R

Description

The function performs a partial correlation test between two dataframes. Each dataframe contains the exon expression (rows) of a particular gene in a sample of individuals (columns). A third dataframe with the same number of columns (individuals) is added to be used as a control parameter. Its rows refer to covariables which affect the conditions of the experiment. On each data.frame individuals must appear on the same order.

Usage

1
PCAcor(exprg1, exprg2, cov, ...)

Arguments

exprg1

Dataframe with exon expression on a sample of individuals.

exprg2

The same as exprg1 but with the exon expression of another gene. Notice the number of rows in exprg1 & exprg2 can differ as different genes has different number of exons.

cov

The dataframe with the covariables due to conditions on the experiment.

Value

Returns the partial correlation coefficient from the scores of the first principal components that result from each dataframe, using argument cov as the set of controlling variables.


isglobal-brge/co_splicing documentation built on May 18, 2019, 5:50 a.m.