One row per distinct domain sequence: its dom_code, the amino acid
sequence it stands for, and the RVD carried by that domain.
Arguments
- x
A
talesobject carrying adom_codecolumn.
Value
A tibble with dom_code and
aa_seq columns, plus rvd when x carries one, one
row per code.
See also
Other tales projections:
tales_coded_strings(),
tales_get_dna_seq(),
tales_get_protein_seq(),
tales_rvd_strings(),
tales_to_universalmotif()
Examples
x <- tales_from_telltales(system.file("extdata", "tellTaleExampleOutput",
package = "tantale"))
xa <- tales_assign_domain_codes(x)
head(tales_domain_codes(xa))
#> # A tibble: 6 × 3
#> dom_code aa_seq rvd
#> <chr> <chr> <chr>
#> 1 1 LPPDQVVAIASNGGGKQALETVQRLLPVLCQAHG NG
#> 2 10 LTPAQVVAIASNDGGKQALETVQRLLPVLCQAHG ND
#> 3 11 LTPAQVVAIASNGGGKQALE NG
#> 4 12 LTPAQVVAIASNGGGKQALETVQRLLPVLCQAHG NG
#> 5 13 LTPAQVVAIASNGGGKQALETVQRLLPVLCQARG NG
#> 6 14 LTPAQVVAIASNGGKQALETVQRLLPVLCQAHG N*