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

centroidv2 #13

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

centroidv2 #13

wants to merge 3 commits into from

Conversation

wolski
Copy link
Contributor

@wolski wolski commented Apr 23, 2020

Hi,

I did implement a slightly different version of centroid and called it centroidv2. It uses diff to find the peak maxima and peak starts and ends and does not require the eps parameter. The implementation is more concise. With the sample data it seems to pick all the peaks which centroid does. See figure below. Of course it will need more testing.

centroid_vs_centroidv2

Could you please review my pull request?

Merge branch 'master' of https://github.com/wolski/protViz

# Conflicts:
#	man/centroidv2.Rd
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