View source: R/analysisUnivar.R
univar | R Documentation |
Perform Univariate Analysis
univar(
data = NULL,
factor = NULL,
stratifiers = NULL,
rank = NULL,
features = NULL,
pairwise_comparisons = NULL,
param = F,
dataset_name = NULL
)
data |
Either a MicroVis dataset or a data table containing metadata and count values with samples as rows and metadata factors or features as columns |
factor |
Factor along which to form groups from the samples and perform the statistical analysis |
stratifiers |
(Optional) One or two factors to stratify the groups by |
rank |
Rank at which to perform the dataset. Defaults to the active rank |
features |
List of features to analyze. Defaults to all |
pairwise_comparisons |
For 3 or more groups, list of vectors of pairwise comparisons to conduct. Defaults to all possible pairwise comparisons |
param |
Run parametrized or nonparametrized univariate analysis? Default is FALSE |
dataset_name |
(Not recommended) Name of the dataset to save statistics to. This should not need to be used by users since the function can determine the name of the dataset directly passed to it, but not when it is called within another function. |
MicroVis dataset containing the statistics results in its "stats" attribute
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.