Function to extract the protein annotation table from a DEprot object.
get.protein.info(DEprot.object)Data.frame corresponding to the protein.info slot of the provided object (row names: protein IDs), or NULL when no annotation is stored.
# Extract the protein annotation from a DEprot object
get.protein.info(DEprot::dpo.imputed.counts)
#> No 'protein.info' table is stored in this object. An annotation can be added with `add.protein.info()`.
# Extract the protein annotation from a DEprot.analyses object
get.protein.info(DEprot::test.toolbox$diff.exp.limma)
#> No 'protein.info' table is stored in this object. An annotation can be added with `add.protein.info()`.