head-ondisc_matrix-method: head

Description Usage Arguments Value Examples

Description

Print the first few rows and columns of an ondisc_matrix.

Usage

1
2
## S4 method for signature 'ondisc_matrix'
head(x)

Arguments

x

an ondisc_matrix.

Value

NULL; called for printing

Examples

1
2
3
4
5
6
7
8
9
# NOTE: You must create the HDF5 file "expressions.h5" to run this example.
# Navigate to the help file of "create_ondisc_matrix_from_mtx"
# (via ?create_ondisc_matrix_from_mtx), and execute the code in the first code block.

h5_fp <- paste0(tempdir(), "/expressions.h5")
if (file.exists(h5_fp)) {
odm <- ondisc_matrix(h5_file = h5_fp)
head(odm)
}

ondisc documentation built on March 5, 2021, 5:07 p.m.