Align a peptide data to protein sequences for visualization
protein_map.Rd
Align a peptide data to protein sequences for visualization
Arguments
- data
a tidyproteomics data-object, specifically of peptide origin
- fasta_path
a character string representing the path to a fasta file
Examples
library(dplyr, warn.conflicts = FALSE)
library(tidyproteomics)
hela_protein_map <- hela_peptides %>%
protein_map(fasta = path_to_package_data('fasta'))
#> ℹ Parsing FASTA file human.fasta
#> ✔ Parsing FASTA file human.fasta ... done
#>
#> ℹ Sequence mapping
#> Sequence mapping ■■■■■■■■■■■■■■■■ 50% | ETA: 2s
#> Sequence mapping ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100% | ETA: 0s
#> ℹ Sequence mapping
#> ✔ Sequence mapping ... done
#>