Description Usage Arguments Value

PCs with above-average variance are kept. The total number kept can be constrained within a range using the 'max_keep' and min_keep' arguments. PCs with greater variance will be prioritized for keeping.

1 | ```
choosePCs_mean(svd, max_keep = NULL, min_keep = NULL)
``` |

`svd` |
An SVD decomposition; i.e. a list containing u, d, and v. |

`max_keep` |
If specified, the total number kept will be at most this value. |

`min_keep` |
If specified, the total number kept will be at least this value. |

The subsetted u matrix with only the chosen columns (PCs).

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.