long_markers: A long format way of specifying markers.

long_markersR Documentation

A long format way of specifying markers.

Description

This is a tibble that provides an example of how to specify markers. This is particularly useful for pumping stuff into Mendel. And it is way easier than having everything in a big named list.

Usage

long_markers

Format

A data frame with necessary columns:

Chrom

The name of the chromosome. This should always be an integer (or maybe "X" or "Y")

Locus

The name of the locus. This can be any string.

Pos

The position of the locus in bases along the chromosome.

Allele

The name of allele. Any string is OK

Freq

The frequency of the allele in the population

AlleIdx

The index of the allele. These have to go from 1 up to the number of alleles at the locus. Order is immaterial.

LocIdx

The index of the locus within the chromosome. This goes from 1 up to the number of loci on the chromosome. These should be ordered according to Pos


eriqande/CKMRsim documentation built on Aug. 2, 2024, 7:23 a.m.