subtract_expt: Try a very literal subtraction

View source: R/expt.R

subtract_exptR Documentation

Try a very literal subtraction

Description

Try a very literal subtraction

Usage

subtract_expt(
  expt,
  new_meta,
  sample_column = "sample",
  convert_state = "cpm",
  transform_state = "raw",
  handle_negative = "zero",
  savefile = "subtracted.rda",
  ...
)

Arguments

expt

Input expressionset.

new_meta

dataframe containing the new metadata.

sample_column

Column in the sample sheet to use to acquire the sample IDs given the subtractions.

convert_state

Expected state of the input data vis a vis conversion (rpkm/cpm).

transform_state

Expected state of the input data vis a vis transformation (log/linear).

handle_negative

Set negative subtracted values to zero?

savefile

Save the new expt data to this file.

...

Parameters to pass to normalize_expt()

Value

New expt


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