Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obtaining normalized count sTPMs #14

Open
moutazhelal opened this issue Mar 16, 2022 · 1 comment
Open

Obtaining normalized count sTPMs #14

moutazhelal opened this issue Mar 16, 2022 · 1 comment

Comments

@moutazhelal
Copy link

moutazhelal commented Mar 16, 2022

Dear Authors,

Thank you for reading my issue
I am trying to obtain the TPM count from the Blueprint Encode Data set
I used assay() to get the log transfomed counts and then applied exp() to get the TPM

is this the right way to do this

log_counts = assay(ref_1)
TPMs_count  = exp(log_counts)

Thank you very much,
Best,
Moutaz

@LTLA
Copy link
Member

LTLA commented Mar 23, 2022

If the documentation on ?BlueprintEncode is accurate, the values were generated with edgeR, which uses log2-transformation. So your final step would be more accurately 2^log_counts (keeping in mind that the "logcounts" assay holds log-TPMs rather than actual log-counts).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants