qpcr_DDCT: CTs to log2 fold change relative to controls

Description Usage Arguments Value Examples

View source: R/functions.R

Description

CTs to log2 fold change relative to controls

Usage

1
2
3
4
5
6
7
qpcr_DDCT(
  data,
  exp_genes_indicies,
  housekeeping_gene_index,
  control_row_indicies,
  metadata_column_indicies
)

Arguments

data

this is the input dataframe, should have genes as columns and samples as rows, replicates should be collpsed and only one housekeeping gene is supported. I don't think NA's or missing data is supported...not really sure.

exp_genes_indicies

A numeric vector containing the column indicies for the genes of experimental interest

housekeeping_gene_index

A single numeric value defining the column index for the housekeeping gene

control_row_indicies

A numeric vector containing the row indicies for the samples that are in the control group. Final data will be expressed relative to the mean of this group for each gene.

metadata_column_indicies

Numeric column indicies defining which columns are metadata and should be returned along with the final results

Value

returns a dataframe of log2(2^DDct) values centered on the mean of the control group

Examples

1
#soon

Jtrachsel/funfuns documentation built on Aug. 8, 2021, 7:31 p.m.