transformGamPoi-Paper icon indicating copy to clipboard operation
transformGamPoi-Paper copied to clipboard

Running logp1 transformation method

Open cakeinspace opened this issue 5 months ago • 3 comments

Hey thanks for your code. I want to run the logp1 method on my dataset. I am doing it by running --transformation logp1 and --alpha TRUE. Are these two commands correct for running these transformation methods. What should I use for running the acosh transformation. Again thanks a lot and sorry if the questions are too silly.

Best

cakeinspace avatar Aug 26 '25 15:08 cakeinspace

For a full list of all available transformations, see https://github.com/const-ae/transformGamPoi-Paper/blob/master/benchmark/src/transformations/transformation_helper.R#L333.

But if this is really just about transforming your data, that you have loaded as a SingleCellExperiment object, you would just run

transformGamPoi::acosh_transform(count_matrix)

const-ae avatar Aug 26 '25 16:08 const-ae

and for logp1, what about the alpha parameter . Thanks a lot though I think it should just be logp1 and acosh from the file you link.

cakeinspace avatar Aug 26 '25 16:08 cakeinspace

The alpha is just forwarded to https://github.com/const-ae/transformGamPoi-Paper/blob/master/benchmark/src/transformations/transformation_helper.R#L199

const-ae avatar Aug 26 '25 16:08 const-ae