expand_mouse_model_factor_from_selection: Expand mouse model factor from selection

View source: R/expand_mouse_model_factor_from_selection.R

expand_mouse_model_factor_from_selectionR Documentation

Expand mouse model factor from selection

Description

Expand data[["mouse_model"]] factor levels to include all mouse models selected in mouse_model, even if there is not data for all. Used within magora_boxplot to ensure that facets are shown for all relevant mouse models.

Usage

expand_mouse_model_factor_from_selection(data, mouse_model)

Arguments

data

Input data (e.g. pathology filtered by phenotype, mouse model, and tissue).

mouse_model

Mouse models to use as factor levels.


Sage-Bionetworks/magora documentation built on July 17, 2022, 7:56 a.m.