Man pages for eriqande/gscramble
Simulating Admixed Genotypes Without Replacement

check_chrom_lengthscheck that the chromosome lengths are acceptable given...
check_gsp_for_validity_and_saturationCheck that GSP does not reuse genetic material and yet uses...
check_pedigree_for_inbreedingCheck the a GSP (in prepped list format) for inbreeding loops
check_rec_rates_formattingcheck to make sure that the recombination rates tibble is...
check_reppopcheck that the RepPop is formatted correctly
computeQs_from_segmentsreturn the admixture fractions of sampled individuals
create_GSPCreate a GSP from user inputs about what type of hybrids from...
drop_segs_down_gspHigh level function for dropping segments down a GSP
example_chrom_lengthsLengths of the three chromosomes used in the example data set
example_segmentsExample of a segments tibble
GenoGenotype matrix of 78 individuals and 100 SNP markers
gscramble2newhybridsConvert 'gscramble' output to newhybrids format
gscramble2plinkWrite 'gscramble' I_meta, M_meta, and Geno to a plink file
GSPExample Genomic Simulation Pedigree, GSP, with 13 members
gsp2dotWrite a dot file to represent a genome simulation pedigree
gsp3Tibble holding specification for a 5 member genomic...
gsp4Tibble holding specification for a 7 member genomic...
GSP_optsA list of tibbles specifying the pedigrees available from...
I_metaMetadata for 78 individuals
make_subscript_matrixmakes a two-column matrix for subscripting alleles out of a...
mat_scrambleScramble a matrix of genotype data
M_metaMetadata for 100 molecular markers
perm_gs_by_popsTake the output of rearrange_genos and permute everyone by...
plink2gscrambleread plink-formatted .map and .ped files into 'gscramble'...
plink_map2rec_ratesConvert a PLINK map file to 'gscramble' RecRates bins in a...
plot_simulated_chromomsome_segmentsPlot the simulated chromosomes of an individual
prep_gsp_for_hap_droppingTake a gsp in tibble form and make a list suitable for gene...
rearrange_genosrearrange genotypes into separate columns for each haplotype.
recomb_pointRandomly sample the positions of recombinations on a...
RecRatesRecombination rate data for many roughly 1 Mb bins
renumber_GSPRenumber GSP members by adding a constant to each
RepPop1A simple example of a reppop table
RepPop4Another simple example of a reppop table
seg2tibTakes a gamete in segment format and returns a tibble with...
seg_haps_through_gspSegregate haplotypes through a genome simulation pedigree...
segments2markersMap alleles from scrambled founders to the sampled segments...
segregateSegregate segments down genomic simulation pedigrees
sim_level_founder_haploscomputes the simulation-level founder haplotype index for...
tidy_up_sampled_haplostakes the waka_waka table and returns a simple tibble with...
xoverinternal function to do crossovers and create recombinations
eriqande/gscramble documentation built on March 5, 2024, 4:22 p.m.