print.GctMatrix: Print method for GctMatrix object

View source: R/GctMatrix.R

print.GctMatrixR Documentation

Print method for GctMatrix object

Description

Print method for GctMatrix object

Usage

## S3 method for class 'GctMatrix'
print(x, showAll = FALSE, ...)

Arguments

x

A GctMatrix object

showAll

Logical, whether all values should be printed

...

Paramters passed to the default method of print

Value

No return value, called for side effects (prints to console).

Examples

m1 <- matrix(1:6, nrow=3, dimnames=list(sprintf("G%d", 1:3), sprintf("S%d", 1:2)))
gm1 <- GctMatrix(m1, desc=sprintf("Gene%d", 1:3))
gm1
mBig <- matrix(round(rnorm(1000),3),
   nrow=100, dimnames=list(sprintf("G%d", 1:100), sprintf("S%d", 1:10)))
gmBig <- GctMatrix(mBig, desc=sprintf("Gene%d", 1:100))
gmBig
print(gmBig, showAll=TRUE)

ribiosIO documentation built on Feb. 20, 2026, 5:09 p.m.