human_aa {canprot} | R Documentation |
Get amino acid compositions of human proteins from their UniProt IDs.
human_aa(uniprot = NULL, aa_file = NULL,
stop_if_missing = FALSE, warn_if_duplicated = FALSE)
uniprot |
character, UniProt IDs of proteins |
aa_file |
character, file name |
stop_if_missing |
logical, stop with an error if there are UniProt IDs that can't be found? |
warn_if_duplicated |
logical, emit a warning if duplicate UniProt IDs are detected? |
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 canprot
environment when the package is attached.
If aa_file
is specified, additional amino acid compositions are read from this file.
This file should be in the same format as human.extra.csv
in the installation directory of the package.
The function returns a data frame with amino acid compositions of proteins.
human_aa("P24298")