Formatting of ped and map files into haplotypes table and filter individuals
generate_founder.Rd
Formatting of ped and map files into haplotypes table and filter individuals
Value
Matrix of taxa (in columns) accross individuals (in rows), genotypes of each generation are reachable thanks to "population" attribute. Genotypes are encodes as 0,1,2 and generated using the MoBPS package.
Examples
if (FALSE) { # \dontrun{
microbiome <- data.table::fread("/path/to/microbiome.txt")
founder_object <- generate_founder(path = "/path/to/pedmap", microbiome)
} # }