Description Usage Arguments Value Examples
Checks for presence of batch effect and creates a html report with information including whether the batch needs to be adjusted
1 2 3 4 5 6 7 8 9 10 11 12 |
dat |
Given data or simulated data from rnaseq_sim() |
batch |
Batch covariate |
condition |
Covariates or conditions of interest besides batch |
report_file |
Output report file name |
report_dir |
Output report directory path |
report_option_binary |
9 bits Binary String representing the plots to display and hide in the report |
view_report |
when TRUE, opens the report in a browser |
interactive |
when TRUE, opens the interactive shinyApp |
batchqc_output |
when TRUE, creates BatchQCout object in batchqc_output.rda R object file |
log2cpm_transform |
when TRUE, transforms the data using log2CPM - log2 Counts Per Million transformation function |
outputfile Report file generated by batchQC
1 2 3 4 5 6 7 8 9 10 | nbatch <- 3
ncond <- 2
npercond <- 10
data.matrix <- rnaseq_sim(ngenes=50, nbatch=nbatch, ncond=ncond, npercond=
npercond, basemean=10000, ggstep=50, bbstep=2000, ccstep=800,
basedisp=100, bdispstep=-10, swvar=1000, seed=1234)
batch <- rep(1:nbatch, each=ncond*npercond)
condition <- rep(rep(1:ncond, each=npercond), nbatch)
batchQC(data.matrix, batch=batch, condition=condition, view_report=FALSE,
interactive=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.