# Family with three missing
file = system.file("extdata", "dvi-example.fam", package="dvir")
# Read file without relabelling
y = familias2dvir(file)
plotDVI(y)
# With relabelling
z = familias2dvir(file, missingFormat = "M[FAM]-[IDX]",
refPrefix = "ref", othersPrefix = "E")
plotDVI(z)
Run the code above in your browser using DataLab