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

update functions on handling other modification bases #134

Closed

Conversation

yixuan-chen-elisa
Copy link
Contributor

@yixuan-chen-elisa yixuan-chen-elisa commented Dec 7, 2023

I modified read.modkit() function to handle other modification calls based on users' choice. If present, other modifications bases can be either drop, or added to the methylation matrix, or added to the coverage matrix, or stored as a separate matrix. I created a modified class "BSseq_mod" to store information (including methylation, unmethylation, other modification) if users chose to store other modification bases as a separate matrix. Relevant functions (hasBeenSmoothed_mod, getBSseq_mod, strandCollapse_mod, getMeth_mod, getCoverage_mod, chrSelectBSseq_mod, orderBSseq_mod) are constructed for class "BSseq_mod".

Also, the test data for read.modkit now contains chromosome 21 and 22 with top 1000 CpGs.

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

Successfully merging this pull request may close these issues.

1 participant