Skip to contents

One row per distinct domain sequence: its dom_code, the amino acid sequence it stands for, and the RVD carried by that domain.

Usage

tales_domain_codes(x)

Arguments

x

A tales object carrying a dom_code column.

Value

A tibble with dom_code and aa_seq columns, plus rvd when x carries one, one row per code.

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*