cellcall icon indicating copy to clipboard operation
cellcall copied to clipboard

A problem when using "TransCommuProfile()"

Open ADSGF203com opened this issue 3 years ago • 1 comments

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 avatar Jan 18 '22 04:01 ADSGF203com

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

ADSGF203com avatar Jan 18 '22 06:01 ADSGF203com