make_nptest_classes: Converts a character vector of genotype scores into two...

Description Usage Arguments

Description

Converts a character vector of genotype scores into two classes - one of which represents one homozygous state, and the other represents the other homozygous state and all heterozygotes

Usage

1
make_nptest_classes(vec, level = 1, na_string = "u")

Arguments

vec

A character vector of genotype scores, each of which is made of two characters. An na_string may also be present

level

Either 1 or 2, indicating which homozygous state is to be compared to the other state/heterozygotes. Default is 1

na_string

a string representing NA. Default is "u"


alexwhan/genomap documentation built on May 10, 2019, 8:58 a.m.