Learn R Programming

skater (version 0.1.2)

read_akt: Read AKT kin output file

Description

Reads in an akt kin results file. Input file must have seven columns, whitespace delimited:

  1. id1 (member 1)

  2. id2 (member 2)

  3. IBD0 (ratio of IBD0/All SNPS)

  4. IBD1 (ratio of IBD1/All SNPS)

  5. Kinship Coefficient

  6. NSNPS

Usage

read_akt(file)

Value

A tibble containing the 7 columns from the akt file.

Arguments

file

Input file path

Examples

Run this code
aktFile <- system.file("extdata", "3gens.akt", package="skater", mustWork=TRUE)
akt <- read_akt(aktFile)
akt

Run the code above in your browser using DataLab