grepAnnotation: grepAnnotation

Description Usage Arguments Value See Also Examples

View source: R/fun-protein-profiles-significance.R

Description

Find protein group of interest based on pattern matching against the annotation data.

Usage

1
grepAnnotation(anno, pattern, column, ...)

Arguments

anno

Data frame with annotation to analyze. The row names have to match rownames in the matrix containing the protein abundance data. Different columns correspond to different annotation columns, e.g. from different sources.

pattern

Character string representing a (sub)string or regular expression matched against the annotation. For details, see ‘grep’.

column

Column of the annotation data ‘pattern’ is matched against.

...

Optional arguments, passed to the ‘grep’ function.

Value

Protein identifiers (rownames of ‘anno’) specifying the protein group of interest in the data set.

See Also

grep, filterRatios, proteinProfiles

Examples

1
2
3
4
5
6
data(ips_sample)

index_28S <- grepAnnotation(annotation, pattern="^28S",
column="Protein.Name")

index_ribosome <- grepAnnotation(annotation, "Ribosome", "KEGG")

proteinProfiles documentation built on Nov. 8, 2020, 7:46 p.m.