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

Issue with printing out_finemap #7

Open
kathryntsai opened this issue Jul 10, 2019 · 1 comment
Open

Issue with printing out_finemap #7

kathryntsai opened this issue Jul 10, 2019 · 1 comment

Comments

@kathryntsai
Copy link

I am working from the example code for FINEMAP in Finemap 1.1. However, when I try to print out_finemap:

out_finemap <- run_finemap(z1, ld1, n1, args = "--n-causal-snps 3") # if not using test, make it z1
print(out_finemap)
plot(out_finemap, label_size = 3, grid_ncol = 1)

I get the following error:
Error in seq.default(1, x$num_loci) : 'to' must be of length 1

It seems that out_finemap does not have a num_loci property, nor many of the properties mentioned within the FinemaprFinemap print function, including snps_finemap, snps_missing_finemap, snps_zscore, etc. Enclosed is a picture:

image

Could you help me figure out what my issue might be?

@kathryntsai
Copy link
Author

This issue also seems to happen with printing out_paintor after I run out_paintor <- run_paintor(z1, ld1, n1, args = "-enumerate 3") using Paintor v3.0.

Paintor runs sucessfully but I get the error: Error in seq.default(1, x$num_loci) : 'to' must be of length 1

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