cutClust: Cut a qtcatClust object

Description Usage Arguments Examples

View source: R/snpCluster.R

Description

Cut a qtcatClust object at an specific height.

Usage

1
cutClust(snp, snpClust, absCor = 1)

Arguments

snp

an object of class snpMatrix.

snpClust

an object of class qtcatClust.

absCor

a cutting height in absolute value of correlation.

Examples

1
2
3
4
5
6
# file containing example data for SNP data
gfile <- system.file("extdata/snpdata.csv", package = "qtcat")
snp <- read.snpData(gfile, sep = ",")
clust <- qtcatClust(snp)

cclust <- cutClust(snp, clust, .5)

QTCAT/qtcat documentation built on April 20, 2021, 11:20 p.m.