JT.test {SAGx} | R Documentation |
The test is testing for a monotone trend in terms of the class parameter. The number of times that an individual of a higher class has a higher gene expression forms a basis for the inference.
trendA <- JT.test(data = datsA, class = g, labels = c("NS", "HS", "COPD0", "COPD1", "COPD2"))
data |
the data with genes in rows and subjects in columns |
class |
the column labels |
labels |
the labels of the categories coded by class |
Assumes that groups are coded in incresing numerical order
a matrix with the columns
pvalue |
the p-value for the two-sided test of no trend. |
median1 ... mediann |
the medians for the n groups |
trend |
the rank correlation with category |
Per Broberg
Lehmann, EH (1975) Nonparametrics: Statistical Methods Based on Ranks p. 233. Holden Day