calcTTest | R Documentation |
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
calcTTest(eset, group1, group2)
eset |
ExpressionSet |
group1 |
List of samples comprising group 1 |
group2 |
List of samples comprising group 2 |
An Expression set with two colunns added to the featureData slot: pvalue, and estimate
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.