library(knitr) library(badger) opts_chunk$set( echo = TRUE, eval = FALSE, warning = FALSE, fig.path = "whatsnew-files/", fig.asp = 1, out.width = "50%", cache = FALSE )
r badge_last_commit("EvaYiwenWang/PLSDAbatch", branch='master')
r badge_license("GPL-3")
r badge_code_size("EvaYiwenWang/PLSDAbatch")
r badge_repostatus("Active")
A multivariate and non-parametric batch effect correction framework based on Projection to Latent Structures Discriminant Analysis for microbiome data.
This repository contains the R
package hosted on Bioconductor.
(macOS users only: Ensure you have installed XQuartz first.)
Make sure you have the latest R version and the latest BiocManager
package installed following these instructions.
## install BiocManager if not installed if (!requireNamespace("BiocManager", quietly = TRUE)) install.packages("BiocManager")
Ensure the following returns TRUE
, or follow the guidelines provided by the output.
BiocManager::valid()
Bioconductor
Release (not now, wait for Bioconductor release)You can install PLSDAbatch
using the following code:
BiocManager::install('PLSDAbatch')
GitHub
VersionInstall the GitHub version with:
# without vignette BiocManager::install("EvaYiwenWang/PLSDAbatch") # with vignette devtools::install_github("https://github.com/EvaYiwenWang/PLSDAbatch", build_vignettes = T)
library(PLSDAbatch) ## names ls('package:PLSDAbatch') ## names and details lsf.str('package:PLSDAbatch')
browseVignettes("PLSDAbatch")
Wang, Y., & LĂȘ Cao, K. A. (2023). PLSDA-batch: a multivariate framework to correct for batch effects in microbiome data. Briefings in Bioinformatics, 24(2), bbac622.
https://academic.oup.com/bib/article/24/2/bbac622/6991121 (The mentioned simulations and analyses in the paper are separately stored here.)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.