print.neat: Print method of 'neat'

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/neat.R

Description

print method for class "neat".

Usage

1
2
## S3 method for class 'neat'
print(x, nrows=10, ...)

Arguments

x

An object of class "neat"

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

neat, plot.neat, summary.neat

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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)

neat documentation built on May 19, 2017, 6:21 p.m.

Search within the neat package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.