Learn R Programming

qtl (version 1.39-5)

groupclusteredheatmap: Retrieving groups of traits after clustering

Description

Retrieving groups of clustered traits from the output of mqmplot.clusteredheatmap.

Usage

groupclusteredheatmap(cross, clusteredheatmapresult, height)

Arguments

cross
An object of class cross. See read.cross for details.
clusteredheatmapresult
Resultint dendrogram object from mqmplot.clusteredheatmap
height
Height at which to 'cut' the dendrogram, a higher cut-off gives less but larger groups. Height represents the maximum distance between two traits clustered together using hclust. the 'normal' behaviour of bigger groups when using a higher heigh cut-off depends on the tree stucture and the amount of traits clustered using mqmplot.clusteredheatmap

Value

A list containing groups of traits which were clustered together with a distance less that height

See Also

Examples

Run this code
data(multitrait)

multitrait <- fill.geno(multitrait) # impute missing genotype data
result <- mqmscanall(multitrait, logtransform=TRUE)
cresults <- mqmplot.clusteredheatmap(multitrait,result)
groupclusteredheatmap(multitrait,cresults,10)

Run the code above in your browser using DataLab