Description Usage Arguments Value Examples
View source: R/bootstrap_phenotype.R
Bootstrap comparison between groups and visualizes the significantly different features in a plasticity phenotype.
1 2 3 4 5 6 | bootstrap_phenotype(
features_df_row = features_df_row,
condition_list = condition_list,
group_label = group_label,
reference_group = reference_group
)
|
features_df_row |
A dataframe that contains all features to be analyszed with bootstrap comparison. Specify row names for each observation must contain the experimental group. |
condition_list |
A list of factors indicating the group identifiers as they appear in the data frame (row names) |
group_label |
X-axis title. |
reference_group |
A character string of the reference group as it appears in the row name. This indicates the group against which all significance comparisons are made. |
Plots significance phenotype for each group, where colored groups are significantly different than the reference group. Red is significant and greater than normal, blue is significant and less than the reference group. Stores object sig.phen in your Global Environment. sig.phen contains ggplot visualization of each comparison.
1 2 3 4 5 6 7 8 9 | bootstrap_phenotype(
features_df_row = NewFeatures[,ordered_nf_colnames],
condition_list = c(' normal ',
' 1wk MD ',
' fluoxetine + 1wk MD ',
' fluoxetine '),
reference_group = ' normal ',
group_label = "\nRearing Conditions"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.