average_strain: Return the beta of each strain. Strains are similar if...

Description Usage Arguments Value

View source: R/gemma_tools.R

Description

Return the beta of each strain. Strains are similar if identical in SNPs

Usage

1
2
3
4
5
6
7
8
average_strain(
  strains_genomes,
  phenotypes,
  covars,
  downsample,
  sex,
  strain = NULL
)

Arguments

strains_genomes

A table of mice genotypes

phenotypes

A table of mice phenotypes

covars

Covariates to include in lm

downsample

Maximal number of representatives. If 0 use average

sex

A vector which assign sex to each individual, to be crossed with strain

strain

A vector with strain name. If given use it instead of matching.

Value

A list with $genotypes and $phenotypes


TheJacksonLaboratory/mousegwas documentation built on Sept. 27, 2021, 9:14 a.m.