pcr_rq: Recalculate relative quantities for a given experiment

View source: R/pcr_rq.R

pcr_rqR Documentation

Recalculate relative quantities for a given experiment

Description

Recalculate relative quantities for a given experiment

Usage

pcr_rq(x, relative_sample, control_probe = NULL, ...)

## S3 method for class 'pcr'
pcr_rq(x, relative_sample, control_probe = NULL, ...)

## S3 method for class 'data.frame'
pcr_rq(x, relative_sample, control_probe = NULL, ...)

Arguments

x

A pcr or data.frame

relative_sample

A sample to set others relative to (eg my_dmso_sample)

control_probe

Character. target_name to serve as endogenous control.

...

Arguments passed to respective method

Value

An object of same class as x

Examples

dat_path <- system.file("extdata", "untidy-pcr-example.xls", package = "amplify")

read_pcr(dat_path) |>
  pcr_rq("U6D1")

# Can also be run after using pcr_control:
read_pcr(dat_path) |>
  pcr_control("GAPDH") |>
  pcr_rq("U6D1")

KaiAragaki/amplify documentation built on Oct. 14, 2024, 11:46 p.m.