head,ondisc_matrix-method {ondisc}R Documentation

head

Description

Print the first few rows and columns of an ondisc_matrix.

Usage

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

Arguments

x

an ondisc_matrix.

Value

NULL; called for printing

Examples

# 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)
}

[Package ondisc version 1.0.0 Index]