Learn R Programming

karyotapR (version 1.0.1)

corner: Print the top-left corner of a matrix

Description

Outputs up to 5 rows and columns of the input matrix object (with rownames and colnames) to get a quick look without filling the console.

Usage

corner(input.mat)

Value

A matrix-like object matching input class, subset to a maximum of 5 rows and columns.

Arguments

input.mat

A matrix-like object.

Examples

Run this code
tap.object <- newTapestriExperimentExample() # example TapestriExperiment object
corner(assay(tap.object, "counts"))

Run the code above in your browser using DataLab