norm_finder {RQdeltaCT} | R Documentation |
norm_finder
Description
This function calculates stability scores using NormFinder algorithm (https://www.moma.dk/software/normfinder) published in https://aacrjournals.org/cancerres/article/64/15/5245/511517/Normalization-of-Real-Time-Quantitative-Reverse. This function is internally used by other RQdeltaCT package function, find_ref_gene(); therefore norm_finder() function does not need to be used separately.
Usage
norm_finder(
data,
candidates,
save.to.txt = FALSE,
name.txt = "NormFinder_results"
)
Arguments
data |
Object returned from make_Ct_ready() functions. |
candidates |
Character: vector of names of genes - candidates for reference gene. |
save.to.txt |
Logical: if TRUE, returned table with results will be saved to .txt file. Default to FALSE. |
name.txt |
Character: name of saved .txt file, without ".txt" name of extension. Default to "norm_finder_results". |
Value
Table with calculated stability score; the lowest value the best candidate for reference gene.
Examples
library(tidyverse)
data(data.Ct)
data.CtF <- filter_Ct(data.Ct,
remove.Gene = c("Gene2","Gene5","Gene6","Gene9","Gene11"),
remove.Sample = c("Control08","Control16","Control22"))
data.CtF.ready <- make_Ct_ready(data.CtF, imput.by.mean.within.groups = TRUE)
reference.stability.nF <- norm_finder(data.CtF.ready,
candidates = c("Gene4",
"Gene8",
"Gene10",
"Gene16",
"Gene17",
"Gene18"))