kieranrcampbell / clonealign

Bayesian inference of clone-specific gene expression estimates by integrating single-cell RNA-seq and single-cell DNA-seq data
Apache License 2.0
32 stars 6 forks source link

Size Factor Fixes #6

Closed nceglia closed 5 years ago

nceglia commented 5 years ago

Call to inference_tflow was always setting size_factors to "fixed". Change to use var set from clonealign call. length(size_factors == 1) always true, size_factors is in obj. changed to length(size_factors) == 1 all(size_factors > 0) to ~all(size_factors > 0) or statement would evaluate to true always and halt with positive non zero size factors.