View source: R/bacdive_extract.R
getEnzymes | R Documentation |
Extracts enzyme data from a bacdive list
getEnzymes(list_holder = list_holder, most_common = T, remove_unknown = T)
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. |
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.
A dataframe of enzyme information about taxa in the list.
## Not run:
bacdive_enzymes <- getEnzymes(list_holder)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.