Learn R Programming

GenoTriplo (version 1.1.3)

Clustering: Clustering function

Description

Clustering function to run clustering with no parallelization process nor auto save

Usage

Clustering(
  dataset,
  nb_clust_possible,
  n_iter = 5,
  Dmin = 0.28,
  SampleName = NULL
)

Value

list of results of clustering

Arguments

dataset

dataset with Contrast and SigStren for each individuals (as SampleName) and each markers (as MarkerName)

nb_clust_possible

number of cluster possible (ploidy+1)

n_iter

number of iterations to perform for clustering

Dmin

minimal distance between two clusters

SampleName

vector with all SampleName (important when missing genotype)

Examples

Run this code
data(GenoTriplo_to_clust)
ploidy=3
res = Clustering(dataset=GenoTriplo_to_clust,
                 nb_clust_possible=ploidy+1,n_iter=5)

Run the code above in your browser using DataLab