Learn R Programming

nprcgenekeepr (version 3.0.0)

getPedigree: Get pedigree from file

Description

Get pedigree from file

Usage

getPedigree(fileName, sep = ",")

Value

A data.frame of the pedigree as read from the file, with no quality control applied (see qcStudbook). Every column read from an Excel file is returned as character.

Arguments

fileName

character vector of temporary file path.

sep

column separator in CSV file. It is ignored for Excel (xls and xlsx) files.

Examples

Run this code
library(nprcgenekeepr)
ped <- getPedigree(fileName = system.file("testdata", "qcPed.csv",
  package = "nprcgenekeepr"
))

Run the code above in your browser using DataLab