kordk / torch-ecpg

(GPU accelerated) eCpG mapper
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Regression full methylation only output option #28

Closed liamgd closed 1 year ago

liamgd commented 1 year ago

The regression_full algorithm should include an option to omit all regression results besides methylation in the output. With this option enabled, the output does not include regression results for the intercept or covariates. However, they will still be included in the computation.

Similar to regression_single, this option will be enabled by default, meaning only methylation regression results will be outputted by default.

liamgd commented 1 year ago

Tested with 300 samples, 1,000 methylation loci, and 1,000 gene expression loci.

Passed all tests (32 commands, combinations of chunking, region filtration, p-value filtration, and methylation_only) with no errors.

Tests ran ``` tecpg run mlr-full tecpg run mlr-full --cis tecpg run mlr-full --distal tecpg run mlr-full --trans tecpg run mlr-full -p 0.05 tecpg run mlr-full -p 0.05 --cis tecpg run mlr-full -p 0.05 --distal tecpg run mlr-full -p 0.05 --trans tecpg run mlr-full -l 2000 tecpg run mlr-full -l 2000 --cis tecpg run mlr-full -l 2000 --distal tecpg run mlr-full -l 2000 --trans tecpg run mlr-full -l 2000 -p 0.05 tecpg run mlr-full -l 2000 -p 0.05 --cis tecpg run mlr-full -l 2000 -p 0.05 --distal tecpg run mlr-full -l 2000 -p 0.05 --trans tecpg run mlr-full -f tecpg run mlr-full -f --cis tecpg run mlr-full -f --distal tecpg run mlr-full -f --trans tecpg run mlr-full -f -p 0.05 tecpg run mlr-full -f -p 0.05 --cis tecpg run mlr-full -f -p 0.05 --distal tecpg run mlr-full -f -p 0.05 --trans tecpg run mlr-full -f -l 2000 tecpg run mlr-full -f -l 2000 --cis tecpg run mlr-full -f -l 2000 --distal tecpg run mlr-full -f -l 2000 --trans tecpg run mlr-full -f -l 2000 -p 0.05 tecpg run mlr-full -f -l 2000 -p 0.05 --cis tecpg run mlr-full -f -l 2000 -p 0.05 --distal tecpg run mlr-full -f -l 2000 -p 0.05 --trans ```
liamgd commented 1 year ago

Implemented in 23ce333.