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

rf_pred not working #10

Open
thierrygosselin opened this issue Mar 15, 2019 · 1 comment
Open

rf_pred not working #10

thierrygosselin opened this issue Mar 15, 2019 · 1 comment
Labels

Comments

@thierrygosselin
Copy link
Owner

Bug to fix: rf_pred option

@btmartin721
Copy link

Hello. I am having this same issue. I have tried imputation = "rf" and "rf_pred". I ran my dataset through filter_rad first, and am trying to load the *.rad file when calling grur_imputations.

Here is the command I used:

library("grur")

imp <- grur_imputations(
      data = "./filterRAD.rad",
      strata = "./popmap.txt,
      output = c("vcf", 
                        "structure",
                        "genepop", 
                        "genlight",
                        "genind"),
  imputation.method = "rf_pred",
  parallel.core = 1,
  hierarchical.levels = "strata",
  filename = "rf",
  verbose = FALSE,
  num.tree = 5000,
  pmm = 2
)

Here's the standard out:

Imputation method: rf_pred
Hierarchical levels: strata

Seed: 342336

Number of populations: 10
Number of individuals: 251
Number of markers: 1
Error: object 'GT' not found

Has this bug been fixed? I have the most recent version of grur.

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

No branches or pull requests

2 participants