Learn R Programming

ondisc (version 1.0.0)

head,ondisc_matrix-method: head

Description

Print the first few rows and columns of an ondisc_matrix.

Usage

# S4 method for ondisc_matrix
head(x)

Arguments

x

an ondisc_matrix.

Value

NULL; called for printing

Examples

Run this code
# NOT RUN {
# 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)
}
# }

Run the code above in your browser using DataLab