comp.match.mat: Compute match score matrix based on a single STR locus.

Description Usage Arguments Value Note

View source: R/comp_match_score.R

Description

insert description.

Usage

1
comp.match.mat(cott.vec, marker, str.f)

Arguments

cott.vec

A vector of Cotterman identity coefficients representing the test relatedness hypothesis.

marker

The name of a STR locus under consideration.

str.f

A name (including full path) of a file containing known (NOT imputed) STR genotypes at the STR locus marker.

Value

A match score matrix based on a single STR locus. An (i,j) entry of the match score matrix is a match score between individual i with a STR observed genotype and individual j with an observed SNP profile based on a single STR locus marker and a test relatedness hypothesis cott.vec.

Note

str.f should be a GT file format of vcftools. The first column should be a chromosome and the second column should be a marker genomic position. The sample data starts from the third column. The first row should be a header and the second row should be data. The genotype can be either a phased or unphased format.


jk2236/RecordMatching documentation built on Dec. 21, 2021, 12:10 a.m.