Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimens committed Jul 27, 2022
1 parent 98f6d8b commit c2c2363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/Plink.jl
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ function plink(data::PopData; filename::String)
data.metadata.biallelic != true && throw(ArgumentError("To write to PLINK format, data must be biallelic.\nThis can be done with dropmultiallelic())\n"))
basename = endswith(filename, r".bed|.ped") ? splitext(filename)[1] : filename
# the .fam file
tmp = data.metadata[:, r"population|name|sire|dam|sex|phenotype"]
tmp = data.sampleinfo[:, r"population|name|sire|dam|sex|phenotype"]
current_cols = propertynames(tmp)
fill_cols = symdiff(current_cols,[:population, :name, :sire, :dam, :sex, :phenotype])
for i in fill_cols
Expand Down

0 comments on commit c2c2363

Please sign in to comment.