ibdhap.names: Get chromosome names

Description Usage Arguments Value Author(s) Examples

Description

Get identifying infomation of chromosomes making up each set, this consists of a number identifying the individual and 0/1 indicator of which of their two chromosomes was used.

Usage

1
ibdhap.names(ids.file=NULL, ids.filename = NULL)

Arguments

ids.file

A matrix of the .ids file used to run ibd_haplo.If this is left as the default NULL, ids.filename should be specified

ids.filename

The filename (location) of the ids file used to run ibd_haplo. This is to be input as a character string. The ids file will be loaded from this location if ids.file is not specified.

Value

Matrix with a row for each set of chromosomes and two columns for each constituent chromosome. The first column is the individual number and the second column indicates which of their two chromosomes is used.

Author(s)

F L Grimson

Examples

1
2
3
4
5
## this example is taken from the package vignette.
##See vignette(IBDhaploRtools_tutorial)

data(ids_phased)
ibdhap.names( ids.file = ids_phased )

IBDhaploRtools documentation built on May 2, 2019, 2:46 p.m.