Error in GraphClustering function
1
0
Entering edit mode
6.3 years ago
Za ▴ 140

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 • 1.5k views
ADD COMMENT
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 REPLY
3
Entering edit mode
6.3 years ago
h.mon 35k

what happens if you try:

object <- URD::graphClustering(object, num.nn = c(5,8,10,15), method="Louvain", do.jaccard = TRUE)
ADD COMMENT
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 REPLY
0
Entering edit mode

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

Thank you again

ADD REPLY
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 REPLY

Login before adding your answer.

Traffic: 2148 users visited in the last hour
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.6