digestFasta: Tryptic digestion of a protein sequence dataframe.

Description Usage Arguments Details Value Note Author(s) See Also Examples

View source: R/digest_fasta.R

Description

This function performs an in-silico trypsin digestion on a data frame from a protein sequence fasta file.

Usage

1
digestFasta(fasta.df = NULL)

Arguments

fasta.df

Data frame generated from import.fasta

Details

Data frame must have the vector names: accession, name, sequence

Value

Returns a data frame of the peptide sequences of the digested proteins.

Note

This function removes all non-unique peptides. Removes all peptides less than 5 and greater than 52 amino acids.

Author(s)

Madeleine J Otway motway@cmri.org.au

See Also

For required functions before digesting fasta file, see: import.fasta

Examples

1
2
3
4
5
6
7
8
9
data(human_proteome_example)
digestFasta(human_proteome_example)

## Workflow
fasta <- system.file("extdata",
                     "human_proteome_example.fasta",
                     package = "dialects")
human_proteome_example <- import.fasta(fasta)
digestFasta(human_proteome_example)

madeleineotway/dialects documentation built on May 29, 2019, 3:43 a.m.