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.
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