magnusdv / forrel

Forensic pedigree analysis and relatedness inference
GNU General Public License v2.0
10 stars 0 forks source link

Output from `transferMarkers` #11

Closed thoree closed 5 years ago

thoree commented 5 years ago

transferMarkers should perhaps return an error below rather than returning the last simulation?!:

library(forrel,quietly = TRUE)
v1 = singleton("V1")
m1 = marker(v1, alleles = 1:100, name = "L1")
v1 = setMarkers(v1, m1)
sim = profileSim(v1, N=2, cond = "L1", seed = 123)
transferMarkers(sim, v1, id = "V1")
#>  id fid mid sex    L1
#>  V1   *   *   1 42/90

Created on 2018-11-07 by the reprex package (v0.2.1)

magnusdv commented 5 years ago

Thanks. I'm moving this to pedtools.