View source: R/runElbowPointAnalysis.R

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.

1 2 | ```
runElbowPointAnalysis(ks, sampleIDs, dim_subset, num_PACSupop,
smallSubpopCutoff, expressionGroupClamp, SubpopSizeFilter)
``` |

`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. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.