Biostar Beta. Not for public use.
Error in GraphClustering function
0
Entering edit mode
2.4 years ago
Za • 120
@Za46376

Hi,

Long time I am trying this tutorial

https://github.com/farrellja/URD/blob/master/Analyses/QuickStart/URD-QuickStart-AxialMesoderm.md

On sample data provided in tutorial no error but with my own data I am always being stopped with this error. Who could help me to solve that please?

> object <- graphClustering(object, num.nn = c(5,8,10,15), method="Louvain", do.jaccard = TRUE)
Error in graphClustering(object, num.nn = c(5, 8, 10, 15), method = "Louvain",  : 
  unused arguments (num.nn = c(5, 8, 10, 15), method = "Louvain", do.jaccard = TRUE)


> print(object) 
URD object: 12451 genes x 1556 cells. 


object <- graphClustering(object) 
Show Traceback Rerun with Debug Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘graphClustering’ for signature ‘"URD"’
R • 292 views
ADD COMMENTlink
1
Entering edit mode

The unused argument error often shows up when you have two functions with the same name but using different arguments. Check that you haven't redefined the graphClustering() function somewhere.

ADD REPLYlink
3
Entering edit mode
2.4 years ago
h.mon 25k
@h.mon6093

what happens if you try:

object <- URD::graphClustering(object, num.nn = c(5,8,10,15), method="Louvain", do.jaccard = TRUE)
ADD COMMENTlink
0
Entering edit mode

Thanks a lot, after long time worked. I two times emailed the developers but finally you solved that

> object <- URD::graphClustering(axial.6somite, num.nn = c(5,8,10,15), method="Louvain", do.jaccard = TRUE)
>

Thank you so much once again

ADD REPLYlink
0
Entering edit mode

Excuse me, could you please tell me how URD:: solved the error?

Thank you again

ADD REPLYlink
1
Entering edit mode

You are telling R to use the graphClustering() function from the URD namespace. You probably loaded another package with a different graphClustering() function - or defined one yourself - which is taking precedence over URD's function.

ADD REPLYlink

Login before adding your answer.

Similar Posts
Loading Similar Posts
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.3