calcTTest: calcTTest

View source: R/calcTTest.R

calcTTestR Documentation

calcTTest

Description

calculates a t-test for two distributions of data on a per-gene basis append results to ExpressionSet with two extra columsn: 'pvalue' and 'difference' for each feature

Usage

calcTTest(eset, group1, group2)

Arguments

eset

ExpressionSet

group1

List of samples comprising group 1

group2

List of samples comprising group 2

Value

An Expression set with two colunns added to the featureData slot: pvalue, and estimate

Examples


        library(leapR)
        tdata <- download.file("https://figshare.com/ndownloader/files/55781153",method='libcurl',destfile='transData.rda')
        load('transData.rda')
        p <- file.remove("transData.rda")

        # read in the pathways
        data("ncipid")

        # read in the patient groups
        data("shortlist")
        data("longlist")
        calcTTest(tset, shortlist, longlist) 

biodataganache/leapR documentation built on July 16, 2025, 11:10 p.m.