| haps_functions {jackalope} | R Documentation |
Organize higher-level information for creating haplotypes.
Description
The following functions organize information that gets passed to create_haplotypes
to generate haplotypes from a reference genome.
Each function represents a method of generation and starts with "haps_".
The first three are phylogenomic methods, and all functions but haps_vcf
will use molecular evolution information when passed to create_haplotypes.
Details
haps_thetaUses an estimate for theta, the population-scaled mutation rate, and a desired number of haplotypes.
haps_phyloUses phylogenetic tree(s) from
phyloobject(s) or NEWICK file(s), one tree per chromosome or one for all chromosomes.haps_gtreesUses gene trees, either in the form of an object from the
scrmorcoalapackage or a file containing output in the style of themsprogram.haps_ssitesUses matrices of segregating sites, either in the form of
scrmorcoalacoalescent-simulator object(s), or ams-style output file.haps_vcfUses a haplotype call format (VCF) file that directly specifies haplotypes.