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     97    100     99    103    103
#> probe_2     91    104     95    105    108
#> probe_3     94    101    106     95    101
#> probe_4     93    102    100    104    102
#> probe_5     99     96    106     93     94