
Identification overview
count_compositions.RdThese functions are used to identify the number of
glycan compositions, glycan structures, glycopeptides, peptides,
glycoforms, glycoproteins, and glycosites in an experiment().
Usage
count_compositions(x)
count_structures(x)
count_peptides(x)
count_glycopeptides(x, count_struct = NULL)
count_glycoforms(x, count_struct = NULL)
count_proteins(x)
count_glycosites(x)Arguments
- x
An
experiment()object.- count_struct
For
count_glycopeptides()andcount_glycoforms(), whether to count the number of glycan structures or glycopeptides. IfTRUE, glycopeptides or glycoforms bearing different glycan structures with the same glycan composition are counted as different ones. If not provided (NULL), defaults toTRUEifglycan_structurecolumn exists in the variable information tibble, otherwiseFALSE.
Value
An integer.
count_compositions(): The number of glycan compositions.count_structures(): The number of glycan structures.count_peptides(): The number of peptides.count_glycopeptides(): The number of unique combinations of peptides, sites, and glycans.count_glycoforms(): The number of unique combinations of proteins, sites, and glycans.count_proteins(): The number of proteins.count_glycosites(): The number of unique combinations of proteins and sites.
Details
The following columns are required in the variable information tibble:
count_compositions():glycan_compositioncount_structures():glycan_structurecount_peptides():peptidecount_glycopeptides():glycan_compositionorglycan_structure,peptide,peptide_sitecount_glycoforms():glycan_compositionorglycan_structure,proteinorproteins,protein_siteorprotein_sitescount_proteins():proteinorproteinscount_glycosites():proteinorproteins,protein_siteorprotein_sites
You can use count_struct parameter to control how to count glycopeptides and glycoforms,
either by glycan structures or by glycan compositions.