effectsizeShape: Effect size for multivariate shape vector

Description Usage Arguments Details Value Note Author(s) Examples

View source: R/qtleffect_shape.R

Description

Compute the effect size of qtl effect.

Usage

1
effectsizeShape(qtl, shape = NULL, geno = NULL, ...)

Arguments

qtl

A qtl effect obtained from fitqtlShape

shape

A optional matrix of shape variables [n.ind n.pheno]

geno

A optional matrix of genotype data [n.ind n.qtl]

Details

Function takes a qtl object, and an optionally a shape matrix.

Value

The function returns the effect size of qtls.

Note

If the shape matrix and/or the genotypes are provided, then the function returns a dataframe with the ES standardized by genotype variance and the percentage explained of variance of the projection scores.

Author(s)

Nicolas Navarro

Examples

1
ES <- effectsizeShape(qtl, shape, geno = as.matrix(getGeno(cross, qtl)))

nnavarro/shapeQTL documentation built on April 30, 2021, 12:10 p.m.