mk_markers_with_skip: make the derived "markers" data frame and store it in the...

Description Usage Arguments Value Examples

View source: R/mega2rcreate.R

Description

Create the markers data frame as a subset of the markers_table data frame. It contains 5 observations:

locus_link:

locus offset of this marker

locus_link_fill:

locus offset plus an accumulating fudge factor that jumps with each new chromosome because the count of markers per chromosome is force to be a multiple of 4. (This value corresponds to the offset of the marker in the unified_genotype_table.)

MarkerName:

name of this marker

chromosome:

chromosome number of this marker

position:

base pair position of this marker (selected by bpPosMap[below])

Usage

1
mk_markers_with_skip(bpPosMap = 1, envir)

Arguments

bpPosMap

An integer that indicates the map (index) to use to fetch the chromosome/position fields from the map_table data frame to merge with the marker_table.

envir

an environment that contains all the data frames created from the SQLite database.

Value

None

Examples

1
2
3
4
## Not run: 
mk_markers_with_skip(1)

## End(Not run)

Mega2R documentation built on Dec. 11, 2021, 9:12 a.m.