-
- Downloads
Modify Lun2Params to use data.frame
Store gene parameters in data.frame rather than separate vectors. Forces them to be same length and allows more independence between gene parameters and nGenes. Checking for differences between the number of gene parameters and nGenes, and sampling if necessary, is now done in `lun2Simulate` rather than `validObject`. The same is true for nCells and lib.sizes.
Showing
- NAMESPACE 1 addition, 1 deletionNAMESPACE
- R/AllClasses.R 9 additions, 10 deletionsR/AllClasses.R
- R/Lun2Params-methods.R 56 additions, 41 deletionsR/Lun2Params-methods.R
- R/lun2-estimate.R 6 additions, 5 deletionsR/lun2-estimate.R
- R/lun2-simulate.R 43 additions, 6 deletionsR/lun2-simulate.R
- tests/testthat/test-Lun2Params.R 6 additions, 11 deletionstests/testthat/test-Lun2Params.R
- tests/testthat/test-lun2-simulate.R 13 additions, 1 deletiontests/testthat/test-lun2-simulate.R
Loading
Please register or sign in to comment