Logo
latest

Getting started

  • Installation
  • Quickstart

User guide

  • Nuts and bolts
    • Indexing
    • Data structures
  • Anatomy of a simulation
  • Founder data
  • Recombination maps
  • Phenogenetic architectures
  • Mating regimes
  • Statistics
  • Post-processing
  • Advanced genetic architectures

API reference

  • Submodule organization
  • arch module
  • effect module
  • founders module
  • index module
  • io module
  • mate module
  • ped module
  • proc module
  • reproduce module
  • sim module
  • stats module
  • struct module
  • utils module
xftsim
  • Nuts and bolts
  • Edit on GitHub

Nuts and bolts

In this tutorial we’ll learn about the basic data structures used for representing genotype and phenotype data.

  • Indexing
    • Component indexing
      • Overview
      • Constructing a component index from a cartestian product
      • Constructing a component index for specific components
      • Constructing a generic component index
    • Variant indexing
      • Constructing a variant index
      • Switching between haploid and diploid indices
    • Sample indexing
      • Constructing a generic sample index
      • Constructing a sample index for specific iids and fids
      • Constructing a sample index with a DataFrame
  • Data structures
    • Phenotype arrays
      • Retrieving index objects
      • Subsetting phenotype arrays
      • Conversion to Pandas
    • Haplotype arrays
      • Retrieving index objects
      • Computing empirical allele frequencies
      • Interpolating genetic distances
Previous Next

© Copyright 2023, Richard Border. Revision d84d56ee.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
Downloads
On Read the Docs
Project Home
Builds