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

05_Cluster_Unique_Peaks_v2.R - changes needed for identifying unique gene activities #16

Open
owenwilkins opened this issue Oct 13, 2021 · 0 comments

Comments

@owenwilkins
Copy link

Was just wondering if someone might be able to comment on what changes would be needed to adapt the 05_Cluster_Unique_Peaks_v2.R script to make it appropriate for detecting unique gene activities, rather than using peaks.

From a review of the script and the methods section of the manuscript, it seems like at changing the 1st argument of the uniqueFeatures() function from:
edgeR::cpm(assay(sePB),log=TRUE,prior.count=3)
to
log2(edgeR::cpm(2^assay(sePB)-1) +1) would be required.

Similarly, it seemed like it may be necessary to change the lines 144, 175, 185, 254, and 263 in the createPseudoBulk() function, to first convert back to gene activity scores and then log transform, however I wasn't sure about that.

Would be great to hear anyones thoughts on those changes and any others that might be required to work with gene activities rather than peaks.

Thanks in advance!

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

1 participant