
Identification overview
count_compositions.Rd
These 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 toTRUE
ifglycan_structure
column 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_composition
count_structures()
:glycan_structure
count_peptides()
:peptide
count_glycopeptides()
:glycan_composition
orglycan_structure
,peptide
,peptide_site
count_glycoforms()
:glycan_composition
orglycan_structure
,protein
orproteins
,protein_site
orprotein_sites
count_proteins()
:protein
orproteins
count_glycosites()
:protein
orproteins
,protein_site
orprotein_sites
You can use count_struct
parameter to control how to count glycopeptides and glycoforms,
either by glycan structures or by glycan compositions.