Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A problem when using "TransCommuProfile()" #23

Open
ADSGF203com opened this issue Jan 18, 2022 · 1 comment
Open

A problem when using "TransCommuProfile()" #23

ADSGF203com opened this issue Jan 18, 2022 · 1 comment

Comments

@ADSGF203com
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant