protcomp {canprot}R Documentation

Amino Acid Compositions

Description

Get amino acid compositions of proteins.

Usage

  protcomp(uniprot = NULL, aa = NULL, aa_file = NULL)

Arguments

uniprot

character, UniProt IDs of proteins

aa

data frame, amino acid compositions

aa_file

character, file name

Details

This function retrieves the amino acid compositions of one or more proteins specified by uniprot.

This function depends on the amino acid compositions of human proteins, which are stored in the human environment when the package is attached. If aa_file is specified, additional amino acid compositions to be considered are read from this file, which should be in the same format as e.g. human_extra.csv (see also thermo$protein). Alternatively, the amino acid compositions can be given in aa, bypassing the search step.

Value

The function returns a list with elements uniprot (UniProt IDs as given in the arguments) and aa (amino acid compositions of the proteins).

See Also

cleanup

Examples

protcomp("P24298")

[Package canprot version 1.1.2 Index]