genolik: Calculating the relative genotype likelihood from a vcf file.

View source: R/filtbaboon1b.R

genolikR Documentation

Calculating the relative genotype likelihood from a vcf file.

Description

Calculating the relative genotype likelihood from a vcf file.

Usage

genolik(inputdir, outputdir, type = "dip")

Arguments

inputdir

The input directory of the cleaned vcf file.

outputdir

The output directory of the genolik file.

type

'hap' for haploid (i.e. male-X) data or 'dip' for diploid (Autosome), 'dip' as default

Value

Output a file in which each line represents a snp. The line looks like chr, pos, -1. -1. -1. (missing data) or gl1, gl2, gl3 transformed from the phred score.


lycium0605/rLCLAE documentation built on Aug. 28, 2024, 11:35 p.m.