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

needs library(Rgraphviz) #4

Open
jielab opened this issue Jan 1, 2021 · 1 comment
Open

needs library(Rgraphviz) #4

jielab opened this issue Jan 1, 2021 · 1 comment

Comments

@jielab
Copy link

jielab commented Jan 1, 2021

Hi, guys:

First, Happy New Year!

for the example code, the last step of visualization needs to load library(Rgraphviz) first. Otherwise, it won't work. So, it would be great to add "library(Rgraphviz)" to the example code, in case others run into the same problem.

BTW, what is the difference between TreeWAS and TreeWASDir ? Do I need to use both?

Best regards,
jie

@jielab
Copy link
Author

jielab commented Jan 3, 2021

Hi, there:

Happy New Year!

I was able to replicate the example code posted at Github, and got a figure like below.
2

It seems that rs4420638 are negatively associated with a lot of ICD-10 codes (blue color, State: -1), and positively associated with liver traits (red color, State: 1).

I thought that the "HES.data" used in the sample code should be a data frame with sample IDs and the corresponding ICD-10 codes for each sample. Instead, it is a data frame for SNP and lBF values. How to get this HES.data data frame is not clear to me. It would be great if you could expand this example code so that users could fully understand the process step by step.

I am also wondering how the TreeWAS analysis could be performed, because there are no "controls". It seems to me that all samples are "cases", with one of more ICD-10 codes for each sample, correct?

Thank you very much & best regards,
Jie

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