mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 07:51:57 +02:00
add mo_pathogenicity
This commit is contained in:
@ -102,6 +102,9 @@ expect_equal(names(mo_info("Escherichia coli")), c(
|
||||
))
|
||||
expect_inherits(mo_info(c("Escherichia coli", "Staphylococcus aureus")), "list")
|
||||
|
||||
expect_equal(as.character(table(mo_pathogenicity(example_isolates$mo)))
|
||||
c("1561", "422", "1", "16"))
|
||||
|
||||
expect_equal(mo_ref("Escherichia coli"), "Castellani et al., 1919")
|
||||
expect_equal(mo_authors("Escherichia coli"), "Castellani et al.")
|
||||
expect_equal(mo_year("Escherichia coli"), 1919)
|
||||
|
Reference in New Issue
Block a user