Open mkd143 opened 6 years ago
your_example_data_path_sim = paste0(path.hold, "/hybriddetective example/SimPurePops_50_Loci_Panel_S1R1_NH.txt") your_example_data_path_50 = paste0(path.hold, "/hybriddetective example/SimPurePops_50_Loci_Panel.txt")
nh_analysis_generateR(ReferencePopsData = your_example_data_path_sim, UnknownIndivs = your_example_data_path_50) RESULT:Error in write(x = data.out, file = output.name) : argument "output.name" is missing, with no default
nh_analysis_generateR(ReferencePopsData = your_example_data_path_sim, UnknownIndivs = your_example_data_path_50, output.name = out.txt) RESULT: this one works.
Default is supposed to be null and the parameter optional.
your_example_data_path_sim = paste0(path.hold, "/hybriddetective example/SimPurePops_50_Loci_Panel_S1R1_NH.txt") your_example_data_path_50 = paste0(path.hold, "/hybriddetective example/SimPurePops_50_Loci_Panel.txt")
nh_analysis_generateR(ReferencePopsData = your_example_data_path_sim, UnknownIndivs = your_example_data_path_50) RESULT:Error in write(x = data.out, file = output.name) : argument "output.name" is missing, with no default
nh_analysis_generateR(ReferencePopsData = your_example_data_path_sim, UnknownIndivs = your_example_data_path_50, output.name = out.txt) RESULT: this one works.
Default is supposed to be null and the parameter optional.