cellcall
cellcall copied to clipboard
A problem when using "TransCommuProfile()"
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
I just fix it with change the parameter : method = “mean”