Learn R Programming

WCQ (version 0.2)

wcq: WCQ QTL detection

Description

Performs QTL detection using Chen-Qin two sample mean test.

Usage

wcq(marker_data, trait_data, alleles)

Arguments

marker_data
m x n matrix/array containing marker score data; m is the number of markers, n is the number of samples
trait_data
t x n matrix/array containing trait value data; t is the number of traits, n is the number of samples
alleles
vector containing the marker scores representing the alleles; currently supports diploids only; third entry assumed to be score for heterozygous marker

Value

pval_matrix
m x t array/matrix containing p-values of each marker as being a potential QTL for a trait

Examples

Run this code
data(sample.markers)
data(sample.traits)
alleles <- c(1,2,3)
wcq(sample.markers, sample.traits, alleles)

Run the code above in your browser using DataLab