poseidonchan / TAPE

Deep learning-based tissue compositions and cell-type-specific gene expression analysis with tissue-adaptive autoencoder (TAPE)
https://sctape.readthedocs.io/
GNU General Public License v3.0
47 stars 9 forks source link

Data format for bulk RNA-seq with 10X UMI data as reference: counts, TPM or PFKM? #13

Open Junjie-Hu opened 10 months ago

Junjie-Hu commented 10 months ago

Hi, After reading the tutorials carefully, I still feel confused how to prepare the input data. In most cases, users want to get cell-type fractions from tumor bulk RNA-seq data using the 10X data as reference. On the website, the author declared seting datatype='counts', so is sc_ref the UMI matrix of 10X data? For bulkdata, should we use counts, TPM or FPKM data? Could you please give an example on the usage website? For instance, deconvolution of bulk PBMC dataset with 10X single-cell PMBC data.

Junjie-Hu commented 10 months ago

should bulk TPM or FPKM data be log2 transformed?

poseidonchan commented 9 months ago

Hi Junjie,

Sorry for the late reply. For sc_ref argument, it is the single cell data from whatever 10X or other sequencing technology. For the datatype argument, please note no matter what bulk data type is I suggest you use the default “count” argument. Any further questions are welcome!

Regards, Yanshuo

poseidonchan commented 9 months ago

should bulk TPM or FPKM data be log2 transformed?

The raw TPM or FPKM data is better than log-transformed data