set_expt_conditions: Change the condition of an expt

View source: R/expt.R

set_expt_conditionsR Documentation

Change the condition of an expt

Description

When exploring differential analyses, it might be useful to play with the conditions/batches of the experiment. Use this to make that easier.

Usage

set_expt_conditions(
  expt,
  fact = NULL,
  ids = NULL,
  prefix = NULL,
  null_cell = "null",
  colors = TRUE,
  ...
)

Arguments

expt

Expt to modify

fact

Conditions to replace

ids

Specific sample IDs to change.

prefix

Add a prefix to the samples?

null_cell

How to fill elements of the design which are null?

colors

While we are here, set the colors.

...

Extra arguments are given to arglist.

Value

expt Send back the expt with some new metadata

See Also

[set_expt_batches()] [create_expt()]

Examples

## Not run: 
 expt = set_expt_conditions(big_expt, factor = c(some,stuff,here))

## End(Not run)

elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.