create_peptide_annotation {proBatch} | R Documentation

## Prepare peptide annotation from long format data frame Create light-weight peptide annotation data frame for selection of illustrative proteins

### Description

Prepare peptide annotation from long format data frame

Create light-weight peptide annotation data frame for selection of illustrative proteins

### Usage

    create_peptide_annotation(df_long,
      feature_id_col = "peptide_group_label",
      annotation_col = c("ProteinName"))

### Arguments

`df_long` | data frame where each row is a single feature in a single sample. It minimally has a `sample_id_col`, a `feature_id_col` and a `measure_col`, but usually also an `m_score` (in OpenSWATH output result file)
`feature_id_col` | name of the column with feature/gene/peptide/protein ID used in the long format representation `df_long`. In the wide formatted representation `data_matrix` this corresponds to the row names.
`annotation_col` | one or more columns contatining protein ID

### Value

data frame containing petpide annotations

### See Also

`plot_peptides_of_one_protein`, `plot_protein_corrplot`

### Examples

    generated_peptide_annotation <- create_peptide_annotation(
    example_proteome, feature_id_col = "peptide_group_label",
    annotation_col = c("ProteinName" ))

[Package proBatch version 1.0.0 Index]