genotypes_out: genotypes_out

View source: R/genotypes_out.R

genotypes_outR Documentation

genotypes_out

Description

The function exports genotypes into hapmap format and SNP genomic locations in a three column format (chr, pos, and loci).

Usage

genotypes_out(haplo_genotypes,output,pop,parental_genotypes,A_parent, B_parent)

Arguments

haplo_genotypes

Required: an input genotypes object, the output of "get_genotypes" function

output

Required: a prefix of the output files

level

Optional: the level of outputs

pop

Optional: the input population, required if level is assigned

parental_genotypes

Optional: the parental genotype object, is required if the user needs output in map format of biparental

A_parent

Optional: the parent A in mapping of bipaerntal

B_parent

Optional: the parent B in mapping of bipaerntal

Examples


genotypes_out(haplo_genotypes,"haplo_genotypes.csv")

USDA-ARS-GBRU/crossword documentation built on Oct. 11, 2024, 12:51 a.m.