gtResult-class: A class for representing the result of a graphTheory test.

Description Slots Extends Methods Author(s) See Also Examples

Description

A class for representing the result of a graphTheory test.

Slots

Pvalue:

Object of class "numeric"

Observed:

Return a "numeric" vector: the observed number of interactions between genes inducing a specific phenotype and each cellular organizational units

Expected:

Return a matrix: the expected number of interactions between genes inducing a specific phenotype and each cellular organizational units

Extends

Class "testResult", directly.

Methods

plot

Graphical representation of the test result

Author(s)

N. LeMeur

See Also

testResult,deResult,plot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## apply a densityEstimate test 
data(DudleyPhenoM)
data(ScISIC)

DudleyPhenoL <- apply(DudleyPhenoM,2,function(x) names(which(x==1)))
NaCl <- DudleyPhenoL[["NaCl"]]

perm <- 20 
NaClGraph <- graphTheory(genename=NaCl, interactome=ScISIC,
perm=perm)
 

## access results
slotNames(NaClGraph)
NaClGraph@Pvalue[1:5]

## use of the plot method
plot(NaClGraph)

PCpheno documentation built on Nov. 8, 2020, 5:10 p.m.