runElbowPointAnalysis {PAC}R Documentation

Runs elbow point analysis to find the practical optimal number of clades to output. Outputs the average within sample cluster spread for all samples and the elbow point analysis plot with loess line fitted through the results.

Description

Runs elbow point analysis to find the practical optimal number of clades to output. Outputs the average within sample cluster spread for all samples and the elbow point analysis plot with loess line fitted through the results.

Usage

runElbowPointAnalysis(ks, sampleIDs, dim_subset, num_PACSupop,
  smallSubpopCutoff, expressionGroupClamp, SubpopSizeFilter)

Arguments

ks

Vector that is a sequence of clade sizes.

sampleIDs

A vector of sample names.

dim_subset

a string vector of string names to subset the data columns for PAC; set to NULL to use all columns.

num_PACSupop

Number of PAC subpopulation explored in each sample.

smallSubpopCutoff

Cutoff of minor subpopulation not used in multiple alignments of networks

expressionGroupClamp

clamps the subpopulations into desired number of expression groups for assigning small subpopulations into larger groups or their own groups.

SubpopSizeFilter

threshold to filter out very small clusters with too few points in the calculation of cluster spreads; these very small subpopulations may be outliers and not biologically relevant.


[Package PAC version 1.1.4 Index]