ushaham / BatchEffectRemoval

55 stars 17 forks source link

Invert Log Transformation #4

Open dsobell opened 6 years ago

dsobell commented 6 years ago

Hello U,

I now see that preprocessor.inverse_transform is already in the script and is applied to the Calibrated source prior to creation (if I'm not mistaken). I apologize but I'm not well versed in writing in Python - what line of code would I write to apply the inverted log transformation in a similar manner (prior to CSV creation)? Sorry for asking something so simple!

Thanks so much for your help, Don

ushaham commented 6 years ago

Hi Don, x = np.exp(x)-1

U.

On Tue, Feb 13, 2018 at 9:31 PM, dsobell notifications@github.com wrote:

Hello U,

I now see that preprocessor.inverse_transform is already in the script and is applied to the Calibrated source prior to creation (if I'm not mistaken). I apologize but I'm not well versed in writing in Python - what line of code would I write to apply the inverted log transformation in a similar manner (prior to CSV creation)? Sorry for asking something so simple!

Thanks so much for your help, Don

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ushaham/BatchEffectRemoval/issues/4, or mute the thread https://github.com/notifications/unsubscribe-auth/ACFArcIbGR9ryp19EzsU873HbIEurjmCks5tUeKogaJpZM4SERra .

-- Thx, U.