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

locuscompare #26

Open
MoMaz123 opened this issue Sep 27, 2023 · 2 comments
Open

locuscompare #26

MoMaz123 opened this issue Sep 27, 2023 · 2 comments

Comments

@MoMaz123
Copy link

Hi
I am having two dataset , as below

eqtl_fn <- read.table(file="XXXXX/Artery_Coronary_v7_eQTL_PHACTR1.txt", header=T, as.is=T)
head(eqtl_fn)
gwas_fn <- read.table(file="XXXXX/CAD_GWAS.txt", header=T, as.is=T)
head(gwas_fn)

locuscompare(in_fn1=gwas_fn, in_fn2=eqtl_fn, title1="CAD GWAS", title2="Coronary Artery eQTL",
marker_col1= gwas_fn$rsnum, pval_col1=gwas_fn$pvalue, marker_col2=eqtl_fn$rsnum, pval_col2=eqtl_fn$pval_nominal)

keep having this error

Error in [.data.frame(d, , c("rsid", "pval", "logp")) :
undefined columns selected

your advise is appreciated.

@MoMaz123
Copy link
Author

solved, never mind.

@863001719
Copy link

solved, never mind.

How did you solve the problem?

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

2 participants