pachterlab / sleuth

Differential analysis of RNA-Seq
http://pachterlab.github.io/sleuth
GNU General Public License v3.0
305 stars 95 forks source link

extend sleuth to model TPMs #145

Closed warrenmcg closed 6 years ago

warrenmcg commented 7 years ago

Hi @pimentel,

This is the code to extend sleuth in prep for sleuth-ALR.

Here is a summary of the changes:

Transform both counts and TPMs independently

Process TPMs & counts similarly with process_bootstraps and sleuth_prep

allow TPMs to modeled by sleuth_fit

remaining to-dos:

warrenmcg commented 7 years ago

Hey @pimentel, so I think I've covered my bases with the two to-dos. I don't see other clear opportunities for users to need to know whether counts or TPMs are modeled within the sleuth_live environment. I think the print function for sleuth_model objects is sufficient for users to double-check which variable was modeled. Let me know what you think.