cluster.strains: cluster.strains

Description Usage Arguments Value Author(s) See Also Examples

Description

Given a set of numeric SNPs, cluster the strains based on allele sharing. This function hierarchically clusters the strains based on the proportion of SNPs that share alleles between each strain. Note: numeric snps, not character snps, are the input to this function.

Usage

1
cluster.strains(variants) 

Arguments

variants

data.frame, numeric variants as returned by convert.variants.to.numeric.

Value

data.frame: of numeric variants with the strains clustered.

Author(s)

Daniel Gatti

See Also

convert.variants.to.numeric, variant.plot

Examples

1
2
3
  data(example.snps)
  variants = convert.variants.to.numeric(variants = example.snps[1:100,])
  variants = cluster.strains(variants)

DOQTL documentation built on May 6, 2019, 3:09 a.m.