wisam: Weighted Genome Scan

Description Usage Arguments Value

View source: R/genome_scan.R

Description

Performs a genome scan on heteroscedastic data.

Usage

1
wisam(G, y, strains, X, K, weights = "none", user_weights = NULL)

Arguments

G

A s by p matrix of genotypes, where s is the number of strains and p is the number of snps to be tested. This matrix can have missing values, and each SNP should be coded as 0, 1, 0.5 or NA

y

A N length vector of phenotypes for each individual organism, where N is the total number of individuals

strains

A s by N incidence matrix that maps every individual to a strain

X

A s by q matrix of covariates (optional)

K

A s by s genomic relationship matrix. Will be calculated if unspecified.

weights

A string specifying the weights to be used. The following are permitted: "none", "samplevars", "limma", "counts", and "user"

user_weights

A s length vector of weights for each strain, used if weights = "user"

Value

A list containing:


williamvaldar/wisam documentation built on Jan. 26, 2022, 10:37 p.m.