logPairedTTestFunction: Paired t-test based test function

Description Usage Arguments Value

Description

Perform a paired t-test on expression data for a single gene It is meant to be used with runTestOnData This function is used to obtain a p-value on the fold change between normal and disease samples for a single gene. If the data is already logarithm transformed in this function, then the exponent must be passed in the list extraArgs

Usage

1
logPairedTTestFunction(nData, dData, hgncSymbol, extraArgs)

Arguments

nData

A vector with numSamples/2 normal expression values for a gene

dData

A vector with numSamples/2 disease expression values for a gene

hgncSymbol

The HGNC Symbol of the gene

extraArgs

#' @param extraArgs A list of named extra arguments, the only name supported is exponent (assumed to be 1 if not provided for non log transformed data). An exponent not equal to 1 assumes that the expression data has been log transformed with base exponent

Value

A single row data frame with two columns foldChange and pValue


bhatturam/prius documentation built on May 12, 2019, 8:24 p.m.