filter_transformed_data {RQdeltaCT} | R Documentation |
filter_transformed_data
Description
This function filters transformed Ct data (filtered Ct, delta Ct, and 2^-dCt data) according to the used filtering criteria (see parameters).
Usage
filter_transformed_data(
data,
remove.Gene = c(""),
remove.Sample = c(""),
remove.Group = c("")
)
Arguments
data |
Object returned from make_Ct_ready() or delta_Ct() functions. |
remove.Gene |
Character: vector with names of genes to remove from data. |
remove.Sample |
Character: vector with names of samples to remove from data. |
remove.Group |
Character: vector with names of groups to remove from data. |
Value
Data frame with filtered data.
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)
data.dCt <- delta_Ct(data.CtF.ready, ref = "Gene8")
data.dCtF <- filter_transformed_data(data.dCt, remove.Sample = c("Control11"))
dim(data.dCt)
dim(data.dCtF)
[Package RQdeltaCT version 1.3.0 Index]