impute2: Imputation of mRNAs via pedigree and genomic information.

Description Usage Arguments Value Examples

View source: R/impute2.R

Description

impute2 returns a list with BGLR model parameters.

Usage

1
impute2(ped, snp, mrna, as_kernel = TRUE, geno, bglr_model)

Arguments

ped

A matrix with pedigree records.

snp

A matrix with SNP records.

mrna

A matrix with transcriptomic BLUEs.

as_kernel

logical. Should a feature matrix or a variance covariance matrix be returned? Should be 'FALSE' if 'x' denotes pedigree information.

geno

NULL. Optional character vector with names corresponding to one of the two parental pools.

bglr_model

A character specifying the algorithm that shall be used \ when calling BGLR().

Value

A list with model parameters used as input in the BGLR() call.

Examples

1
2
3
4
5
data("mice_ped", "mice_snp", "mice_mrna")
geno <- rownames(mice_ped)
eta <- impute2(ped = mice_ped, snp = mice_snp, mrna = mice_mrna, geno = geno,
               bglr_model = "BRR")
str(eta)

mwesthues/sspredr documentation built on May 23, 2019, 10:56 a.m.