read_probs: Read genotype probability object from file

View source: R/read_probs.R

read_probsR Documentation

Read genotype probability object from file

Description

Read object from file stored according to method.

Usage

read_probs(
  chr = NULL,
  start_val = NULL,
  end_val = NULL,
  datapath,
  allele = TRUE,
  method,
  probdir = "genoprob"
)

Arguments

chr

vector of chromosome identifiers

start_val, end_val

start and end values in Mbp

datapath

name of folder with Derived Data

allele

read haplotype allele probabilities (if TRUE) or diplotype allele-pair probabilities (if FALSE)

method

method of genoprob storage

probdir

genotype probability directory (default "genoprob")

Value

list with probs = large object of class calc_genoprob and map = physical map for selected chr

Author(s)

Brian S Yandell, brian.yandell@wisc.edu


byandell/qtl2pattern documentation built on Nov. 9, 2023, 7:57 p.m.