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

Error in batch removal #18

Open
studyyan opened this issue Oct 12, 2024 · 3 comments
Open

Error in batch removal #18

studyyan opened this issue Oct 12, 2024 · 3 comments

Comments

@studyyan
Copy link

Hi,

Thank you for your excellent work with FlowCT.

My Mac is running R 4.3.3 version. I tried to use batch.removal() but I get the following error:

fcs_harmony <- batch.removal(fcs, method = "harmony", batch = "patient_id")
Initializing state using k-means centroids initialization
Harmony 1/10
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
Harmony 2/10
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
Harmony 3/10
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
Harmony converged after 3 iterations
Error in assays<-(*tmp*, withDimnames = withDimnames, ..., value = *vtmp*) :
please use 'assay(x, withDimnames=FALSE)) <- value' or 'assays(x, withDimnames=FALSE)) <- value' when the rownames or colnames
of the supplied assay(s) are not identical to those of the receiving SingleCellExperiment object 'x'
In addition: Warning messages:
1: HarmonyMatrix is deprecated and will be removed in the future from the API in the future
2: Quick-TRANSfer stage steps exceeded maximum (= 6136650)
3: Quick-TRANSfer stage steps exceeded maximum (= 6136650)

Did you ever have such issue or do you know how to fix this?

Thank you

@studyyan
Copy link
Author

Hi there,

I also have another question about the clustering.flow from PARC method. Does the "markers.to.use" option still work? Because the results are similar no matter the number or ranges of markers.to.use I choose?

Thank you.

@jgarces02
Copy link
Contributor

Hi @studyyan, I'll need some time to check it since I'm working in a different institution, but I'll try to fix it asap.

@jfoedfjwofa
Copy link

Excuse me for cutting in.

I encountered the same error message when I conducted batch removal using Harmony, so I would appreciate it if you could share the solution if you find it.

Thank you so much.

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

3 participants