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

Rphenograph membership vector out of order? #78

Open
deborah-chasman opened this issue Nov 14, 2019 · 0 comments
Open

Rphenograph membership vector out of order? #78

deborah-chasman opened this issue Nov 14, 2019 · 0 comments

Comments

@deborah-chasman
Copy link

I have been trying out cytofkit::Rphenograph on a small flow cytometry dataset with various values of k. I've noticed that when k is small (eg 4-6), the names of the membership vector are not always in order.

Here is a small example that gives me an out of order result. I generate 400 cells with random expression values. The last 6 names of the membership vector should be 395:400.

> set.seed(12345);
> my.mat=matrix(runif(2400)*100, ncol=6);
> res=Rphenograph(my.mat, k=5);
> tail(membership(res))
396 397 398 399 400  45 
  6  22  15  18  18  20 

For now, I can use larger k and check the order of the names myself.

Thanks for your time!

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