pars2pik {cophescan}R Documentation

Conversion of parameters alpha, beta and gamma to pnk, pak and pck

Description

Conversion of parameters alpha, beta and gamma to pnk, pak and pck

Usage

pars2pik(params, nsnps, covar_vec, covar = FALSE)

Arguments

params

Vector of parameters: \alpha, \beta and \gamma

nsnps

number of snps

covar_vec

Vector of the covariate

covar

logical: should the covariate information be used? default: False

Value

pik matrix of priors: pnk, pak and pck


[Package cophescan version 1.4.1 Index]