Skip to content

having an issue with fsc2gtypes #63

Open
@stranda

Description

@stranda

Hi Eric,
I was using strataG installed from github and have been having an issue with fsc2gtypes(). The current version is giving this error when I try to simulate some dna seqeunces and read them back into R:

Error in result[, 1] : incorrect number of dimensions

This is using fsc27 as the simulator. Previous versions of strataG were working in this situation, but they were generating a warning from dplyr about specifying .cols when using across().

To reproduce, I've attached a binary format file (saved with saveRDS()) of the settings run by fscRun. It's stashed inside a zip archive so github will allow me to upload
example.zip

Here are the actual lines I've been running:

runout=fscRun(simp,exec=fsc_exec,dna.to.snp=F)
res=fsc2gtypes(runout,marker='dna',as.genotypes=F,concat.dna=F)

where 'simp' is the object in the attached file and fsc_exec="fsc27093".

This isn't a huge problem for me, because I forked an older version that works but gives the 'across()' warning, but I wanted to let you have a reproducible example

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