| ilr_counts | R Documentation | 
ilr_counts generates an sometric log ratio transformed matrix based on the
References and Sites from a REPAC result.
ilr_counts(se, results)
| se | The (Ranged)SummarizedExperiment object used on the analysis. | 
| results | A data.frame or tibble with results from REPAC | 
An isometric log ratio transformed matrix.
Eddie Imada
## fit model and test for DPU
groups <- rep(c("A", "B"), each=5)
dMat <- model.matrix(~ 0+groups)
colnames(dMat) <-  gsub("groups", "",colnames(dMat))
cMat <- makeContrasts(
    levels=colnames(dMat),
    BvsA= B - A
)
results <- fit_repac(se, dMat, cMat)
results <- resolve_comparisons(results)
mat <- ilr_counts(se, results$BvsA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.