ShellyCoder / cellcall

inferring cell-cell communication from scRNA-seq of ligand-receptor
73 stars 20 forks source link

A problem when using "TransCommuProfile()" #23

Open ADSGF203com opened 2 years ago

ADSGF203com commented 2 years ago

When I use the function TransCommuProfile() and it goes to step 6 "step6: score ligand-receptor relation (weighted, max, or mean) ####" and I got this : Error in FUN(X[[i]], ...) : only defined on a data frame with all numeric variables In addition: There were 50 or more warnings (use warnings() to see the first 50)

warnings() Warning messages: 1: In cor(x, y, use = use, method = method) : the standard deviation is zero 2: In cor(x, y, use = use, method = method) : the standard deviation is zero 3: In cor(x, y, use = use, method = method) : the standard deviation is zero 4: In cor(x, y, use = use, method = method) : the standard deviation is zero

ADSGF203com commented 2 years ago

I just fix it with change the parameter : method = “mean”