-
Make sure you have R and Python installed
-
Navigate to this directory
-
Install the requirements.r in the R folder
Rscript .R/requirements.r
troubleshooting: if you haven't add the path to Rscript to the environment path, you will need to do that first.
- If you want to generate DEG analysis output from raw count data, use this command:
Rscript ./R/findDEGs.R [--treat=<treat> --batch=<batch> --pval=<pval> --logfc=<logfc> --adjMethod=<adjMethod>] <input> <output> <metadata>
use Rscript ./R/findDEGs.R -h to get more information
- If you want to generate enrichment analysis / gsea output from DEG analysis, use this command:
Rscript ./R/enrichment_main.R (--enrich | --gsea) [--dePval=<dePval> --pval=<pval> --qval=<qval> --adjMethod=<adjMethod>] <input> <output>
use Rscript ./R/enrichment_main.R -h to get more information