GlycoproteomicSE() creates a single-assay
SummarizedExperiment::SummarizedExperiment() subclass for
glycoproteomics data. It is a thin wrapper around SummarizedExperiment()
with additional Glycoverse validation:
Exactly one assay is allowed. Extra assays are rejected to avoid ambiguous glycoproteomics measurements.
The assay must contain only non-negative values. Raw glycoproteomics abundance data are non-negative; log transformation should be handled by downstream Glycoverse packages.
rowDatamust containprotein,protein_site, andglycan_compositioncolumns. Theproteincolumn must be character,protein_sitemust be integer-like, andglycan_compositionmust be aglyrepr::glycan_composition()vector. Aglycan_structurecolumn is optional, but if present it must be aglyrepr::glycan_structure()vector.metadatamust contain aglycan_typefield.
This container is experimental and is not recognized by all Glycoverse
packages yet. It is intended to become a recommended entry point as package
contracts migrate toward SummarizedExperiment-based containers.
Arguments
- abundance
A numeric abundance matrix with glycopeptides or glycoforms as rows and samples as columns.
- ...
Arguments passed to
SummarizedExperiment::SummarizedExperiment().rowData: AS4Vectors::DataFrame()with at least the following columns:protein: required, a character vectorprotein_site: required, an integer-like vectorglycan_composition: required, aglyrepr::glycan_composition()vectorglycan_structure: optional, aglyrepr::glycan_structure()vector
colData: AS4Vectors::DataFrame().metadata: A list. It must include aglycan_typefield with one of"N","O","O-GalNAc","O-Man","O-Fuc","O-GlcNAc","O-Glc","HMO","GSL","GAG", or"GPI".
S4 class
GlycoproteomicSE is an S4 class that extends
SummarizedExperiment::SummarizedExperiment().
