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

assign.x error with the smv model #8

Open
EmiCarr opened this issue May 6, 2019 · 1 comment
Open

assign.x error with the smv model #8

EmiCarr opened this issue May 6, 2019 · 1 comment

Comments

@EmiCarr
Copy link

EmiCarr commented May 6, 2019

Hi,
I am using your package to assign unknown individuals to their population of origin with genomic markers, however, I’m having trouble using the function assign.X. When I try to run this script :
assign.X(genepop_baseline_2016_snps, genepop_assign_2016_snps, model = "smv",dir = "/Volumes/drobo2/emilie_carrier/all_samples_fev_2019/03-bad_samples_high_relatedness_sex_removed/population_assignment_files/assignment_2016/", mplot = TRUE)
I get this message :
Error in table(outcome_matrix$pred.pop) : 
  object 'outcome_matrix' not found

I have followed all the steps in your tutorial without any problem and also tried using different models with these files and it seems to work. I have also run this script with different files without any error message.

Thanks in advance!

@alexkychen
Copy link
Owner

Hi,
I probably need to look into the codes and see where causes the issue by running your data sets. Do you mind sending me ([email protected]) the data you used or part of the data so that I can reproduce the same error message on my side? Thanks.

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