Package: CoDaLoMic 0.1.0

Irene Creus Martí

CoDaLoMic: Compositional Models to Longitudinal Microbiome Data

Implementation of models to analyse compositional microbiome time series taking into account the interaction between groups of bacteria. The models implemented are described in Creus-Martí et al (2018, ISBN:978-84-09-07541-6), Creus-Martí et al (2021) <doi:10.1155/2021/9951817> and Creus-Martí et al (2022) <doi:10.1155/2022/4907527>.

Authors:Irene Creus Martí [aut, cre]

CoDaLoMic_0.1.0.tar.gz
CoDaLoMic_0.1.0.tar.gz(r-4.5-noble)CoDaLoMic_0.1.0.tar.gz(r-4.4-noble)
CoDaLoMic_0.1.0.tgz(r-4.4-emscripten)CoDaLoMic_0.1.0.tgz(r-4.3-emscripten)
CoDaLoMic.pdf |CoDaLoMic.html
CoDaLoMic/json (API)

# Install 'CoDaLoMic' in R:
install.packages('CoDaLoMic', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Uses libs:
  • jags– Just Another Gibbs Sampler for Bayesian MCMC
  • c++– GNU Standard C++ Library v3
Datasets:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

jagscpp

1.00 score 44 exports 59 dependencies

Last updated 6 hours agofrom:0f9dc71314. Checks:2 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 20 2025
R-4.5-linuxOKJan 20 2025

Exports:B1MODImatrizPB1MODImodelBalanceBPBM_MatrixEstimate_Param_EstParmFuncEstimate_Param_FBMEstimating_BPBMEstParmFuncEstParmFunc_FBMExpectedValue_EstParmFuncExpectedValues_EstParmFunc_FBMExpectedValuess_BPBMFromVectorToMatrix_BPBMFVectorPBmodeloPrediGraphicsGraphicsPredictionGraphicsPredictionBPBMGraphicsSPBalLogVeroFuncBUENAMaxBacteriaMaxBacteriaPredObtainigValuePBObtainigValueSPBalObtainingDICPBalancePBalancePrediPBmodelPCAbiplotPercen_VariancePlotDendogramPredictionBPBMPredictionEstParmFuncPredictionFBMPreparingTheDataQualityControlridgeregressionrxnrateStudyingParamTable_alr_Dirich_glvTableBPBMTableFBMTauAndParameters_EstParmFunc_FBMvecttorZeroData

Dependencies:abindbackportsbayesmbootbroomclicodacolorspacecompositionscpp11DEoptimRdplyrfansifarvergenericsggbiplotggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellNADAnlmepillarpkgconfigplyrpurrrR2jagsR2WinBUGSR6RColorBrewerRcppRcppArmadilloreshape2rjagsrlangrobustbasescalesstringistringrsurvivaltensorAtibbletidyrtidyselecttruncnormutf8vctrsviridisLitewithrxtablezCompositions

Readme and manuals

Help Manual

Help pageTopics
CoDaLoMicCoDaLoMic-package CoDaLoMic
Ridge regression matrixB1MODImatrizP
Obtaining the regression value of the FBMB1MODImodel
Calculating the balance of the FBM modelBalance
Obtains the matrix of covariates of the BPBMBPBM_Matrix
cockroach datasetcockroach
Estimating Parameters of EstParmFuncEstimate_Param_EstParmFunc
Estimating Parameters of EstParmFunc_FBMEstimate_Param_FBM
Estimating BPBMEstimating_BPBM
Writting the loglikelihood of the dirichletEstParmFunc
Writting the loglikelihood of the dirichletEstParmFunc_FBM
Obtaining the value of the Dirichlet parameters, the expected value and the variance.ExpectedValue_EstParmFunc
Obtainig the value of the dirichlet parameters, the expected value and the variance.ExpectedValues_EstParmFunc_FBM
Obtainig the value of the dirichlet parameters, the expected value and the variance.ExpectedValuess_BPBM
Writting the parameters in the matrix form required in BPBM modelFromVectorToMatrix_BPBM
Obtaining a vector with the covariates of the predictionFVectorPBmodeloPredi
Plots the time seriesGraphics
Plots the time seriesGraphicsPrediction
Plots the time seriesGraphicsPredictionBPBM
Obtaining the graphic of the SPBal at all time pointsGraphicsSPBal
Writting the loglikelihood of the dirichletLogVeroFuncBUENA
Putting the reference bacteria at the last rowMaxBacteria
Putting the reference bacteria at the last rowMaxBacteriaPred
Obtaining the principal balances valuesObtainigValuePB
Obtaining the selected principal balances valuesObtainigValueSPBal
Writting the loglikelihood of the dirichletObtainingDIC
Calculating balancesPBalance
Calculating balances for a compositionPBalancePredi
Obtaining the regression value of the BPBMPBmodel
PCA of the estimated parametersPCAbiplot
Percentage of variancePercen_Variance
Plotting a dendogramPlotDendogram
Predicting using BPBMPredictionBPBM
Predicting using dirichl-gLVPredictionEstParmFunc
Predicting using FBMPredictionFBM
Preparing datasetPreparingTheData
Analysing the quality of the estimationQualityControl
Ridge regressionridgeregression
Solving the right side of the gLV equationsrxnrate
Gut microbiome simulated datasetSimulated
Controlling quality of the convergence in BPBMStudyingParam
Obtainig a table with the interpretable parametersTable_alr_Dirich_glv
Obtaining a table with the SPBal information of the BPBMTableBPBM
Obtainig a table with the interpretable parametersTableFBM
Obtaining the value of tau and the estimate value of the rest of the parametersTauAndParameters_EstParmFunc_FBM
Alr of a bacteriavecttor
Zero replacementZeroData