https://github.com/drisso/awst
Asymmetric Winsorization per Sample Transformation
https://github.com/drisso/awst
Last synced: 9 months ago
JSON representation
Asymmetric Winsorization per Sample Transformation
- Host: GitHub
- URL: https://github.com/drisso/awst
- Owner: drisso
- License: mit
- Created: 2019-05-22T08:30:46.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-12T13:48:04.000Z (over 2 years ago)
- Last Synced: 2024-12-13T23:36:24.133Z (over 1 year ago)
- Language: R
- Homepage:
- Size: 55.7 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
- License: LICENSE
Awesome Lists containing this project
README
# awst
[](https://github.com/drisso/awst/actions)
Asymmetric Winsorization per Sample Transformation
This package implements the AWST method presented in [Risso and Pagnotta (2020)](https://doi.org/10.1101/2020.06.04.134916).
## Installation
In virtually all cases, the package should be installed from Bioconductor, using the following command:
```{r}
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:
```{r}
BiocManager::install("drisso/awst")
```
## Usage
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.
```{r}
library(awst)
xt <- awst(x)
```
For detailed examples and use cases see the vignette and https://github.com/drisso/awst_analysis.