# NOT RUN {
/*
* Create a DESeq2 data object using previously read count and target data.
* Differential expression groups indicated by "Infection" column of target data.
* Apply a rlog transformation to the data. TMM normalization applied.
*/
dds <- prep_dds_from_data(count_input=myCounts, target_input=myTargets,
experiment_design= ~ Infection, stabilization="rld")
/*
* Create a DESeq2 data object using previously read count and target data.
* Differential expression groups indicated by "Infection" column of target data.
* Takes into account a batch effect column of target data.
* Apply a variance stabilizing transformation to the data. TMM normalization applied.
*/
dds <- prep_dds_from_data(count_input=myCounts, target_input=myTargets,
experiment_design= ~ batch + Infection, stabilization="vst")
/*
* Create a DESeq2 data object using previously read count and target data.
* Differential expression groups indicated by "Time" and "Infection" columns of target data.
* Takes into account a batch effect column of target data.
* Apply a variance stabilizing transformation to the data. TMM normalization applied.
* Collapse technical replicates based on the "replicate" column of target data.
*/
dds <- prep_dds_from_data(count_input=myCounts, target_input=myTargets,
experiment_design= ~ batch + Time + Infection,
collapseReps=TRUE,
rep_field_vector="replicate",
stabilization="vst")
# }
Run the code above in your browser using DataLab