Pure. Which annotated domains, sites, or regions contain a given residue, which is the question a variant reviewer actually asks.
Arguments
- features
A feature tibble from
uniprot_parse_features().- position
A residue position.
Examples
features <- uniprot_parse_features(list(features = list(
list(type = "DOMAIN", description = "Kinase", begin = "457", end = "717")
)))
uniprot_features_at(features, 600)
#> # A tibble: 1 × 5
#> type label description begin end
#> <chr> <chr> <chr> <int> <int>
#> 1 DOMAIN Domain Kinase 457 717
uniprot_features_at(features, 100)
#> # A tibble: 0 × 5
#> # ℹ 5 variables: type <chr>, label <chr>, description <chr>, begin <int>,
#> # end <int>