print.neat {neat} | R Documentation |
Print method of neat
Description
print
method for class "neat
".
Usage
## S3 method for class 'neat'
print(x, nrows=10, ...)
Arguments
x |
An object of class " |
nrows |
Maximum number of results to print (default is 10). It can be either an integer number or "ALL" |
... |
Further arguments passed to or from other methods |
Value
A dataframe showing the first nrows
tests contained in a neat
object.
Author(s)
Mirko Signorelli
References
Signorelli, M., Vinciotti, V., Wit, E. C. (2016). NEAT: an efficient network enrichment analysis test. BMC Bioinformatics, 17:352. Url: https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-016-1203-6.
See Also
Examples
A = matrix(0, nrow=7, ncol=7)
A[1,c(2,3)]=1; A[2,c(5,7)]=1;A[3,c(1,4)]=1;A[4,c(2,5,7)]=1;A[6,c(2,5)]=1;A[7,4]=1
labels = letters[1:7]
set1 = c('a','e')
set2 = c('c','g')
set3 = c('d','f')
alist = list('set 1' = set1, 'set 2' = set2)
blist = list('set 3' = set3)
test = neat(alist, blist, network=A, nettype='directed', nodes=labels, alpha=0.05)
print(test)
[Package neat version 1.2.4 Index]