Open bjreisman opened 3 years ago
Thanks for reporting this!I've pushed a more permanent fix to flowWorkspace. see https://github.com/RGLab/flowWorkspace/commit/c29fce7bdd922adfc9d151c7f845e4aa6652741c now all should be good
> t <- sinh(1) * 150
> trans <- asinhtGml2_trans(T = t, M = 0.434294481903252,A = 0)
> t <- sinh(1) * 2000
> trans$transform(150)
[1] 0.8813736
Hi RGLab,
@sierrabarone and I came across the following bug in the
ce_get_transformations
function where it appears transformations are not being defined correctly. I think it has something to do with how the co-factor is defined for each channel and whether or not the transformation is used before the function moves on to the next channel. I was able to get it to work as desired in a bit of hacky way, but there is probably a more elegant solution. I've included an reproducible example below (acs file in a zip at the bottom). I'd be happy to create a PR with my hacky fix (calling each transformation once) if you'd like.-Ben
get_transformations_repex_acs.zip