Asymmetric Winsorization per Sample Transformation
This package implements the AWST method presented in Risso and Pagnotta (2020).
In virtually all cases, the package should be installed from Bioconductor, using the following command:
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("awst")
In the rare case that you need the development version from Github, you can install it with:
BiocManager::install("drisso/awst")
The AWST transformation can be applied either directly on raw counts, or (recommended) to normalized counts. The input should be either a matrix with genes in rows and samples in columns or a SummarizedExperiment object.
library(awst)
xt <- awst(x)
For detailed examples and use cases see the vignette and https://github.com/drisso/awst_analysis.