Tweaks (single cell phyloset and more)#74
Conversation
…e cell phyex sets. and added some plot examples to the vignettes for sc.
…bug of NA values validation
… to plot lines instead of stacked areas for plot contribution (similar to old PlotMeans)
|
Hi @nifets , myTAI/R/plot_signature_transformed.R Lines 23 to 24 in 5826fa6
where Let me know what you think :) Best, |
Hi Sodai, yes we can definitely do that I think! |
Updated vst and rlog transformation functions to multiply input by 2 before rounding for lower expression value handling. Refers to #74 (comment)
…aching for pseudobulk and tai computation, implemented pseudobulk and tai in rcpp, made identity management more principled, added option in plot gene heatmap to specify custom gene annotation and colours.
|
Okay, I think I am ready to merge this to master. I have made quite a few changes to the single cell object. The main one is that it no longer wraps around Seurat, but uses the count matrix directly. So we are decoupled from Seurat now (but the user can still build a sc phyloset from seurat if they choose to). The TAI computation for single cell is now cached. I also tried to cache the pseudobulking but I couldn't find an elegant way to do it with S7. I might come back to this in the future. If the user wants to, they can precache the pseudobulk by setting And generally I think we can probably push this to CRAN relatively soon. Maybe there are some things which could benefit from more documentation and/or useful messages. I have added back the messages in plot signature but maybe there are other places that would benefit. And I'm still not 100% happy with the single cell plot signature plots, I think we could make them more readable still. |






still WIP
left to do: