Skip to content

Sambada fails to calculate population structure from .gds file #2

Description

@treebreeder

When I execute the following command:
prepareEnv(envFile=system.file("extdata", "ClimdataforSambada.csv", package = "R.SamBada"), outputFile=file.path(tempdir(),'douglas-env-export.csv'), maxCorr=0.8, idName='sample.id',separator="",
genoFile=system.file("extdata", genoFile="Douglas_sub.gds", package = "R.SamBada"), numPc=2,x='long',y='lat',interactiveChecks = TRUE, locationProj=4326)

the program normally calculates correlation among climate variables, but gives the following error when it tries to calculate population structure:
Error in .InitFile2(cmd = "Principal Component Analysis (PCA) on genotypes:", :
is.numeric(maf) is not TRUE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions