Skip to contents

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)

Arguments

input.mat

A matrix-like object.

Value

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

Examples

tap.object <- newTapestriExperimentExample() # example TapestriExperiment object
#>  Moving gRNA probe  to `altExp` slot "grnaCounts".
#>  Moving barcode probe  to `altExp` slot "barcodeCounts".
#>  Moving chrY probe(s) probe_231, probe_232, probe_233, probe_234, probe_235, probe_236, probe_237, probe_238, probe_239, and probe_240 to `altExp` slot "chrYCounts".
corner(assay(tap.object, "counts"))
#>         cell_1 cell_2 cell_3 cell_4 cell_5
#> probe_1     99    103    105     91     97
#> probe_2     95    105     94     96     93
#> probe_3    101    103     99    105     96
#> probe_4     99    107     94    108     93
#> probe_5     92     95    100     97    100