pvalueType | R Documentation |
Queries or sets the type of p-values to return from objects, either base calculated (pvals) or from fdr calculations (fdr)
pvalueType(object)
object |
Can be |
pvalueType(object)
gets the type of p-values
to be returned from HyperGResultCC
and ccEnrichResult
objects
pvalueType(object)<-
will set the type of p-values
to be returned from HyperGResultCC
, ccEnrichResult
, ccEnrichCollection
. Note that for a ccEnrichCollection
, the type is changed for all contained ccEnrichResults
Robert M Flight
HyperGResultCC
ccEnrichResult
ccEnrichCollection
# pvalueType-Methods
data(ccData)
## Not run: pvalueType(enrichLists) # this returns an error
pvalueType(enrichLists[[1]])
pvalueType(enrichLists[[1]][[1]])
# change the type for one of the results
pvalueType(enrichLists[[1]]) <- 'pval' # Not recommended practice
enrichLists
# change for all of the results
pvalueType(enrichLists) <- 'pval'
enrichLists
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.