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

add name to peakSet / PeakMatrix #1426

Open
wants to merge 2 commits into
base: release_1.0.2
Choose a base branch
from
Open

add name to peakSet / PeakMatrix #1426

wants to merge 2 commits into from

Conversation

rcorces
Copy link
Collaborator

@rcorces rcorces commented May 11, 2022

Originally, peak sets do not have a name column. This means that when getFeatures() is called, it returns NULL because no name column is present. This makes it impossible to use plotEmbedding() or addModuleScores() with peaks. To address this, I've added a line that automatically names peaks as seqname_peakIndex such as "chr1_peak1".

I dont think that this will break anything downstream but would be good to have a second opinion

addressing #1421 and #308 (comment)

@rcorces rcorces requested a review from jeffmgranja May 11, 2022 15:29
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