The MatisseObject S4 class
Source:R/MatisseObject-class.R, R/MatisseObject-methods.R
MatisseObject-class.RdThe central data structure for Matisse. It wraps a Seurat
object and adds isoform-resolved splicing layers. All per-cell data — junction
counts, PSI values, transcript counts, and QC metrics — live inside the
embedded Seurat object as named assays (Assay5) or cell metadata
(meta.data). Nothing is duplicated outside the Seurat object.
Details
Two operating modes are supported, set automatically at construction:
"junction"Short-read mode. Raw junction counts are stored as
Assay5("junction")(junctions × cells). PSI is computed later byCalculatePSIand stored asAssay5("psi")."event"Long-read mode. Transcript counts (e.g. from Bagpiper or FLAMES) are stored as
Assay5("transcript"). PSI is computed at construction time from SUPPA2.ioeevent definitions and stored asAssay5("psi").
Functions
show(MatisseObject): Display a summary of aMatisseObject.x[[i: Access cell metadata or Seurat slots via[[. Checksseurat@meta.datafirst; falls back to the embedded Seurat object (assays, reductions, etc.).
Slots
seuratA
Seuratobject. Contains all per-cell data: gene expression, splice assays ("junction","transcript","psi"), cell metadata (QC metrics, cluster labels), and dimensionality reductions.event_dataA
data.framewith one row per splice event. Required columns:event_id,gene_id,chr,strand,event_type,inclusion_junctions,exclusion_junctions.junction_dataA
data.framewith one row per junction. Required columns:junction_id,chr,start,end,strand,gene_id.modeCharacter.
"junction"for short-read objects;"event"for long-read objects.versionCharacter string recording the Matisse version used to create the object.
miscNamed list for user-defined extra data.