hapmaptonumeric_matrix: SNP in hapmap format to numeric

View source: R/HapmapToNumeric.R

hapmaptonumeric_matrixR Documentation

SNP in hapmap format to numeric

Description

This function applyes the hapmaptonumeric function on a dataframe of SNP in hapmap format to recode as numeric: 0, 1, 2. The marker data requires that the SNPs are in columns and the individual are in rows.

Usage

hapmaptonumeric_matrix(X = NULL, snp.start.col = 2)

Arguments

X

SNP matrix in hapmapformat with single nucleotides

snp.start.col

An index number where the SNP dat starts in X

Value

A dataframe of SNPs in numeric format


leocrh/FPGC documentation built on Nov. 15, 2024, 2:46 a.m.