jtamames / SqueezeMeta

A complete pipeline for metagenomic analysis
GNU General Public License v3.0
365 stars 78 forks source link

subsetTax without rescaling TPM #602

Closed adec37 closed 1 year ago

adec37 commented 1 year ago

I am looking to create a heat map of specific genes in my dataset. However, I only want the archaea domain to be mapped. Typically, I would go about this by using the subsetTax function and subsetting the Archaea, but this changes the calculated TPM to be based on the subsetted data, which I do not want.

I want to:

Does anyone have any recommendations on how to accomplish this?

fpusan commented 1 year ago

Yes! We actually thought of this. As per the documentation, subsetTax(SQM, rank, tax, rescale_tpm=F)

adec37 commented 1 year ago

Thank you, thank you, thank you!