ag.attribute: Get gene attribute

Description Usage Arguments Value

View source: R/acdatabase_utils.R

Description

Find an attribute value for an antigen. By default this is set to traverse the inheritance list for 'HA' to find the attribute value but the gene can be set to 'NA' or 'backbone', or this behaviour turned off.

Usage

1
ag.attribute(ag, attribute, inherit = TRUE, inherit.gene = "HA")

Arguments

ag

environment: an antigen

attribute

char: the name of the desired attiribute

inherit.gene

char: which gene to inherit along

inherit:

bool: whether to inherit attributes from parents

Value

attribute value


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