tail.rank.test-methods {TailRank} | R Documentation |
This file describes the methods for an object of the class
tail.rank.test
class.
## S4 method for signature 'tail.rank.test': summary(object, ...) ## S4 method for signature 'tail.rank.test': hist(x, overlay, ...) ## S4 method for signature 'tail.rank.test': as.logical(x, ...) ## S4 method for signature 'tail.rank.test': getStatistic(object,...)
x |
A tail.rank.test object |
object |
A tail.rank.test object |
overlay |
An optional logical flag; defaults to FALSE . |
... |
Extra graphical parameters |
|
Returns a logical vector. TRUE values
pick out candidate biomarkers where the tail-rank test statistic
exceeds the significance cutoff. |
|
Returns the vector of tail-rank statistics
contained in object . |
|
Invisibly returns the tail.rank.test object. |
|
Invisibly returns the tail.rank.test object. |
Kevin R. Coombes <kcoombes@mdanderson.org>
tail.rank.test-class
,
tail.rank.test
,
tail.rank.power
# generate some fake data to use in the example nr <- 40000 nc <- 110 fake.data <- matrix(rnorm(nr*nc), ncol=nc) fake.class <- rep(c(TRUE, FALSE), c(40, 70)) # build an object null.tr <- tail.rank.test(fake.data, fake.class) # summarize the object summary(null.tr) # plot a histogram hist(null.tr) hist(null.tr, breaks=70, col='blue', overlay=TRUE) # get a logical vector that can select those markers # identified by the test selector <- as.logical(null.tr)