add_screen: Adds a new screen to a list of screens

View source: R/utils.R

add_screenR Documentation

Adds a new screen to a list of screens

Description

Makes a list containing info for a given screen and optionally appends it to a given list.

Usage

add_screen(screen_list = NULL, name, replicates, normalize_name = NULL)

Arguments

screen_list

An existing list of screens (optional, default NULL).

name

A name for the screen (e.g. "RPE1_T18").

replicates

A list of columns containing replicate data for the given screen.

normalize_name

A name of another screen to normalize data in this screen to (e.g. "RPE1_T0", optional, default NULL).

Value

A named list corresponding to provided screen names, where each sub-list contains a list of the replicate columns (in "replicates") and the screen to normalize against (in "normalize_name").


HenryWard/orthrus documentation built on June 2, 2023, 10:28 p.m.