Last active
October 12, 2021 09:13
-
-
Save jotech/bb28c3d59baeba4b9d7f115257916888 to your computer and use it in GitHub Desktop.
Analyzing bacterial interaction and cross-feeding patterns with BacArena
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# The sihumi example data set consists of a simulation of 8 gut microbes growing on a western diet for 8 hours. | |
# Here, we use it to study microbial interactions | |
# | |
library(BacArena) | |
data("sihumi_test") | |
plotGrowthCurve(sihumi_test)[[2]] | |
# check for most changing substance concentrations | |
getVarSubs(sihumi_test) | |
subs <- names(head(getVarSubs(sihumi_test),30)) | |
plotSubCurve(sihumi_test, mediac=subs)[[1]] | |
# what are bacteria doing with these substances? | |
plotSpecActivity(sihumi_test, subs=subs)[[2]] | |
# find crossfeeding interactions | |
findFeeding3(sihumi_test, mets = subs, time=6) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment