getEnzymes: Extracts enzyme data from a bacdive list

View source: R/bacdive_extract.R

getEnzymesR Documentation

Extracts enzyme data from a bacdive list

Description

Extracts enzyme data from a bacdive list

Usage

getEnzymes(list_holder = list_holder, most_common = T, remove_unknown = T)

Arguments

list_holder

A list object containing strain information already present in the R environment.

most_common

The function will take the most common value for any given species enzyme activity combination. See details.

remove_unknown

Remove enzyme activity entries where the value is NA.

Details

Staphylococcus aureus has 31 strains with positive catalase activity and 2 strains with negative catalase activity. With 'most_common = T', the function will return a dataframe denoting that S. aureus is most commonly positive for catalase activity.

Value

A dataframe of enzyme information about taxa in the list.

Examples

## Not run: 
bacdive_enzymes <- getEnzymes(list_holder)

## End(Not run)

scottdaniel/bacphene documentation built on March 25, 2023, 12:51 p.m.