acdb.extract: Match and extract a single entry from attributes

Description Usage Arguments Details Value

View source: R/acdatabase_utils.R

Description

Find an entry which has attributes specified in '...'. An error is thrown if there are multiple matches. Attribute inheritance behavior can be set with inherit and inherit.gene (see ?ag.attribute).

Usage

1
acdb.extract(db, ..., inherit = TRUE, inherit.gene = "HA")

Arguments

db

list: an agdb (see ?agdb)

...

attributes to match

inherit.gene

char: which gene to inherit along

inherit:

bool: whether to inherit attributes from parents

simplify

bool: whether to simplify list of length 1 to list[[1]]

Details

This function is the same as agdb.extract, and is curried to form srdb.extract.

Value

list


acorg/acutilsLite documentation built on Feb. 19, 2021, 4:56 p.m.