doProbeTTest: Do Probe T-Test

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Internal function used to calculate t-tests between probe level intensity and pData entries with two levels.

Usage

1
    doProbeTTest(object, label, testType="students")

Arguments

object

A ProbeLevelSet object or a regular ExpressionSet object.

label

An optional character string specifying a column name in the pData of the object. If this argument is given, the gene plot will be colour coded based on the different groups (factors) in the pData entry. If a summaryType other than 'dots' is selected the summarisation is done stratified by the different groups in the pData.

testType

Character string, defining a statistic procedure to identify especially interesting probes.

Details

This function is not meant to be called by the user. It does the statistical calculations when called by plotStatistics

Value

A correlation list with p-value and fold-change in columns and probe IDs as rownames. Used by plotStatistics when decorating plots from plotOnGene.

Author(s)

Lasse Folkersen

See Also

plotStatistics, plotOnGene

Examples

1
2
3
4
5
6
7
	data(exampleProbeLevelSet)
	colnames(pData(exampleProbeLevelSet))
	tTestData<-GeneRegionScan:::doProbeTTest(exampleProbeLevelSet,"gender")
	colnames(tTestData)
	
	#P value for the probe with ID 679083 in relation to "gender"
	print(tTestData["679083","p-value"])

GeneRegionScan documentation built on Nov. 8, 2020, 8:28 p.m.