-
Notifications
You must be signed in to change notification settings - Fork 908
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
GroupSingletons behavior #1655
Comments
Hi,
|
Sorry for the late reply on this and thanks for #1, very helpful! I have an
initial version of #2 but am going to be travelling for a few weeks and
haven't had a chance to do thorough tests, so will hold off on submitting a
PT until sometime after I get back. Thanks for considering!
Hopefully be back in touch with PR soon,
Andrew
…On Mon, Jun 10, 2019, 1:47 PM Andrew Butler ***@***.***> wrote:
Hi,
1. Option 1 has recently been added to the develop branch as a
group.singletons parameter which if set to FALSE, will assign all
singletons to their own "singleton" cluster. You could then process however
you wanted. We would be happy to add a min.cluster.size parameter if
you put together a PR.
2. I believe this was intentional when this was initially implemented
several years ago as I was interested in testing out the stability of
singleton assignments. I also might have been trying to prevent errors in
the case where every cell was a singleton (datasets used to have far fewer
cells :) ). However, thinking about this again now, it probably makes more
sense to not include the processed singletons in the connectivity
calculations of future singletons. That would also allow for a more
efficient implementation of that function.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1655?email_source=notifications&email_token=ABER4AYNCBA2BBDV5UAMPKTPZ2HS5A5CNFSM4HVZFSO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXKTLVI#issuecomment-500512213>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABER4A4DGMVK2T2QG6TZPDTPZ2HS5ANCNFSM4HVZFSOQ>
.
|
Hey I modified the function as described in this post. Didn't have time to make a formal PR.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have two related questions about GroupSingletons:
min.cluster.size
argument to FindClusters that would be2
by default to match current behavior, but would then merge all cells in clusters smaller than this size in the manner currently used to merge singletons. I have tested this out myself and would be happy to submit a PR if it sounds like something you'd consider.The text was updated successfully, but these errors were encountered: