readHaplotypeDb: Read a Change-O tab-delimited database file

View source: R/internal_functions.R

readHaplotypeDbR Documentation

Read a Change-O tab-delimited database file

Description

readHaplotypeDb reads a tab-delimited haplotype file created by a createFullHaplotype into a data.frame. Based on readChangeoDb function from alakazam.

Usage

readHaplotypeDb(file)

Arguments

file

tab-delimited database file output by a Change-O tool.

Value

A data.frame of the haplotype file. Columns will be imported as is, except for the following columns which will be explicitly converted into character values:

  • alleles

  • subject


rabhit documentation built on Feb. 16, 2023, 9:25 p.m.