xiaolei-lab / SIMER

Data Simulation for Life Science and Breeding
Apache License 2.0
27 stars 8 forks source link

Numeric output format does not produce genotype matrix #5

Closed m-hrachov closed 11 months ago

m-hrachov commented 1 year ago

PLINK output works well, numeric does not. Option: save a genotype matrix myself.

Minimal reproducible example:

SP <- param.simer(
  # SP = SP, # uncomment it when users already have a 'SP'
  out = "simer",
  outpath = getwd(),
  out.format = "numeric"
)

# Run Simer
SP <- simer(SP)
Foredawnbio commented 11 months ago

I'm sorry for being three weeks late. I ran above minimal reproducible example and get a normal resuts.

Maybe you think Simer outputs a TXT with genotype data. Simer outputs genotype matrix with bigmemory format which you load genotype matrix by "geno <- bigmemory::attach.big.matrix('simer.geno.desc')".

Does it solve your problem?