make_subscript_matrix: makes a two-column matrix for subscripting alleles out of a...

View source: R/make_subscript_matrix.R

make_subscript_matrixR Documentation

makes a two-column matrix for subscripting alleles out of a genotype matrix

Description

This is intended to be applied to a grouped tibble that has all the columns that are arguments to the function.

Usage

make_subscript_matrix(n, chrom, start, end, abs_column, m_list, num_markers)

Arguments

n

the number of rows in the group of the tibble

chrom

chromosome names

start

starting position of the segment

end

ending position of th segment

abs_column

the absolute column index of the founder

m_list

a list column of markers

num_markers

the number of markers


eriqande/gscramble documentation built on March 5, 2024, 4:22 p.m.