| headtail | R Documentation |
Applies to both rows and columns, enabling quick inspection during interactive use.
headtail(x, ...)
## S4 method for signature 'DFrame'
headtail(x, n = 2L)
## S4 method for signature 'GRanges'
headtail(x, n = 2L)
## S4 method for signature 'Matrix'
headtail(x, n = 2L)
## S4 method for signature 'SummarizedExperiment'
headtail(x, n = 2L)
x |
Object. |
n |
|
... |
Additional arguments. |
Inspired by the print method for DataFrame class.
character.
headtail(DFrame): Same method as data.frame.
headtail(GRanges): Summarize the ranges.
headtail(Matrix): Same method as matrix.
headtail(SummarizedExperiment): Summarize the primary assay.
Updated 2023-09-20.
utils::head(), utils::tail().
cat().
data(RangedSummarizedExperiment, package = "AcidTest")
## SummarizedExperiment ====
object <- RangedSummarizedExperiment
headtail(object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.