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 paramSweep_v3(scRNA_r, PCs = 1:30, sct = FALSE) : could not find function "paramSweep_v3" #184

Open
skkanlei opened this issue Jan 2, 2024 · 11 comments

Comments

@skkanlei
Copy link

skkanlei commented Jan 2, 2024

When I use 'DoubletFinder'2.0.4 with seurat4.3.0, I got the Error:

sweep.res.list_keloid <- paramSweep_v3(scRNA_r, PCs = 1:30, sct = FALSE)
Error in paramSweep_v3(scRNA_r, PCs = 1:30, sct = FALSE) :
could not find function "paramSweep_v3"

I want to download DoubletFinder version 2.0.3, But I can't find method to download it.

@skkanlei
Copy link
Author

skkanlei commented Jan 2, 2024

I download the 2.0.3 by remotes::install_github('https://github.com/ekernf01/DoubletFinder', force = T)

but I still get the same error

sweep.res.list_keloid <- paramSweep_v3(scRNA_r, PCs = 1:30, sct = FALSE)
Error in paramSweep_v3(scRNA_r, PCs = 1:30, sct = FALSE) :
could not find function "paramSweep_v3"

@RunhanZhao
Copy link

You can restart the R. I did the same process as you did, and do not have this error again.

@skkanlei
Copy link
Author

skkanlei commented Jan 6, 2024

You can restart the R. I did the same process as you did, and do not have this error again.

Thank you!!! I'll have a try.

@mengm5
Copy link

mengm5 commented Jan 7, 2024

Updates
(11/21/2023) Made compatible with Seurat v5 and removed '_v3' flag from relevant function names.

@SunAlan123
Copy link

I removed the '_v3' flag from the function, but there is this error again (Seurat v5). Do you know why? Thanks!

@mengm5
Copy link

mengm5 commented Jan 11, 2024

I removed the '_v3' flag from the function, but there is this error again (Seurat v5). Do you know why? Thanks!

What is the error?

@SunAlan123
Copy link

I removed the '_v3' flag from the function, but there is this error again (Seurat v5). Do you know why? Thanks!

What is the error?
count not find function "paramSweep_v3"

@Yijia-Jiang
Copy link

Hi, I met the same error, could you share the script you used for seurat v5? Thank you very much!

@mengm5
Copy link

mengm5 commented Jan 12, 2024

I removed the '_v3' flag from the function, but there is this error again (Seurat v5). Do you know why? Thanks!

What is the error?
count not find function "paramSweep_v3"

The key scripts I used:

sweep.res.list <- paramSweep(sceData.c, PCs = 1:30, sct = T)
sceData.c <- doubletFinder(sceData.c, PCs = 1:30, pN = 0.25, pK = pK_bcmvn, nExp = nExp_poi.adj, reuse.pANN = F, sct = T)

@mengm5
Copy link

mengm5 commented Jan 12, 2024

Hi, I met the same error, could you share the script you used for seurat v5? Thank you very much!

Hi, the key scripts I used:
sweep.res.list <- paramSweep(sceData.c, PCs = 1:30, sct = T)
sceData.c <- doubletFinder(sceData.c, PCs = 1:30, pN = 0.25, pK = pK_bcmvn, nExp = nExp_poi.adj, reuse.pANN = F, sct = T)

The rest are the same as the 'Example Code' they'd given in the main page.

@Noralii
Copy link

Noralii commented Apr 25, 2024

In the specific versions of DoubletFinder 2.0.4 and Seurat 5.0.3, and after excluding 'v3', the R code sweep.res <- paramSweep(sc_tumor, PCs = doubletpc, sct = TRUE) followed by filterdouble <- doubletFinder(sc_tumor, PCs = doubletpc, pN = 0.25, pK = mpk, nExp = nexp_poi, reuse.pANN = FALSE, sct = TRUE) can be smoothly run.

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

6 participants