cozygene / bisque

An R toolkit for estimation of cell composition from bulk expression data
68 stars 20 forks source link

leave-one-out cross validation #21

Closed empiricalbayes closed 3 years ago

empiricalbayes commented 3 years ago

Hello,

I wonder if you could provide the codes you used for leave-one-out cross validation in your simulations.

Thanks.

brandonjew commented 3 years ago

Hi @empiricalbayes, sure thing. Please note that this is an R script, not a TXT file, so it should be renamed (made TXT to comply with attachment requirements). This script is meant to be run from the command line with a single positional argument that is an integer between 1 and 5. This argument specifies the scaling factor to simulate (one of [0, 5, 10, 15, 20]). Note that this script takes quite a long time to run with CIBERSORT and bseq-sc comparisons. If commented out, Bisque and MuSiC should complete fairly quickly.

Arguments that should be noted/edited:

Here is the script: simulation_analysis.txt

Let me know if you run into any issues!

Thanks, Brandon

empiricalbayes commented 3 years ago

Many thanks @brandonjew