Learn R Programming

qtl2pleio (version 1.2.3)

prep_mytab: Prepare mytab object for use within scan_pvl R code

Description

Prepare mytab object for use within scan_pvl R code

Usage

prep_mytab(d_size, n_snp)

Arguments

d_size

an integer, the number of traits

n_snp

an integer, the number of markers

Value

a data.frame with d_size + 1 columns and (n_snp)^d_size rows. Last column is NA and named loglik.

Examples

Run this code
# NOT RUN {
prep_mytab(2, 10)
# }

Run the code above in your browser using DataLab