Skip to content

ModelFrame field df #7

@gchen98

Description

@gchen98

I attempted to try running the sample data using the first control file, and found an error message reporting a missing field df in the ModelFrame type. I am running Julia 1.0.4. My console looks like this:

julia> using MendelGWAS
[ Info: Precompiling MendelGWAS [c1bad3ca-268b-5bf6-b82e-de8a361f94db]
[ Info: Loading DataFrames support into Gadfly.jl

julia> cd("/home/gchen/Code/julia/MendelGWAS.jl/data")

julia> GWAS("gwas 1 Control.txt")

 Welcome to OpenMendel's
  GWAS analysis option

Reading the data.

The current working directory is "/home/gchen/Code/julia/MendelGWAS.jl/data".

Keywords modified by the user:

affected_designator = 2
control_file = gwas 1 Control.txt
manhattan_plot_file = gwas 1 Output Manhattan Plot.png
output_file = gwas 1 Output Summary.txt
output_table = gwas 1 Output Table.txt
pedigree_file = gwas 1 data.fam
plink_input_basename = gwas 1 data
qq_plot_file = gwas 1 Output QQ Plot.png
regression = linear
regression_formula = Trait ~ Sex
snpdata_file = gwas 1 data.bed
snpdefinition_file = gwas 1 data.bim

Analyzing the data.

ERROR: type ModelFrame has no field df
Stacktrace:
[1] getproperty(::Any, ::Symbol) at ./sysimg.jl:18
[2] gwas_option(::MendelBase.Person, ::MendelBase.SnpDataStruct, ::DataFrames.DataFrame, ::Dict{AbstractString,Any}) at /home/gchen/.julia/packages/MendelGWAS/8an7U/src/MendelGWAS.jl:300
[3] #GWAS#1(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{,Tuple{}}}, ::Function, ::String) at /home/gchen/.julia/packages/MendelGWAS/8an7U/src/MendelGWAS.jl:103
[4] GWAS(::String) at /home/gchen/.julia/packages/MendelGWAS/8an7U/src/MendelGWAS.jl:34
[5] top-level scope at none:0

julia>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions