checkProt | R Documentation |
Check if the protein sequence's amino acid types are the 20 default types
checkProt(x)
x |
A character vector, as the input protein sequence. |
This function checks if the protein sequence's amino acid types are the 20 default types.
Logical. TRUE
if all of the amino acid types of the sequence
are within the 20 default types.
x = readFASTA(system.file('protseq/P00750.fasta', package = 'Rcpi'))[[1]]
checkProt(x) # TRUE
checkProt(paste(x, 'Z', sep = '')) # FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.