microbiomeDB / microbiomeData

An R package containing all of the curated datasets from MicrobiomeDB.org
https://microbiomedb.github.io/microbiomeData/
Apache License 2.0
0 stars 0 forks source link

Compute result with metadata #18

Closed d-callan closed 9 months ago

d-callan commented 9 months ago

this should let us do things like the following:


alphaDivOutput <- microbiomeComputations::alphaDiv(
     getCollection(DiabImmune, "16S Genus"), 
     method='shannon', verbose=FALSE
)
 alphaDivDT <- getComputeResultWithMetadata(
     alphaDivOutput, 
     DiabImmune, 
     metadataVariables = c('country', 'delivery_mode')
)