import_proteome: Import protein sequences from a 'fasta' file

Description Usage Arguments Details Value Author(s) Examples

View source: R/import_proteome.R

Description

This function reads an organism specific proteome stored in a defined file format.

Usage

1

Arguments

file

a character string specifying the path to the file storing the proteome.

format

a character string specifying the file format used to store the proteome, e.g. "fasta", "fastq".

...

additional arguments that are used by the readAAStringSet function.

Details

The read.proteome function takes a string specifying the path to the proteome file of interest as first argument.

It is possible to read in different proteome file standards such as fasta or fastq.

Proteomes stored in fasta files can be downloaded from http://www.ebi.ac.uk/reference_proteomes.

Value

A data.table storing the gene id in the first column and the corresponding sequence as string in the second column.

Author(s)

Hajk-Georg Drost

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# reading a proteome stored in a fasta file
Ath_proteome <- import_proteome(system.file('seqs/ortho_thal_aa.fasta', package = 'homologr'),
                               format = "fasta")

# look at results
Ath_proteome

## End(Not run)

drostlab/homologr documentation built on Sept. 28, 2020, 12:44 a.m.