Generate a quality control report from sparse eset object
drawSparseEsetQC.Rd
This function is used to generate a html quality control report from a sparse eset object. Compared with the summary table return by filterSparseEset(), the output report contains more comprehensive and detailed QC results and can be used to estimate the cutoffs to filter the eset object. It also contains some plots for presentation purpose.
Arguments
- input_eset
The sparse eset object for quality control analysis
- output_html_file
The path of the output .html file
- overwrite
Logical, whether to overwrite the output .html file if it already exists. Default:
FALSE
.- group_by
Character or
NULL
, Name of column in pData(eset) used for grouping. Default:NULL
.
Examples
if (FALSE) { # \dontrun{
## 1. To generate the QC report in a group-specific manner, recommended whenever group information is available.
drawSparseEsetQC(input_eset = pbmc14k_raw.eset,
output_html_file = "/your-path/PBMC14k/PLOT/pbmc14k_rawCount.html",
overwrite = FALSE,
group_by = "trueLabel")
## 2. To generate the QC report from a whole view
drawSparseEsetQC(input_eset = pbmc14k_raw.eset,
output_html_file = "/your-path/PBMC14k/PLOT/pbmc14k_rawCount.html",
overwrite = FALSE,
group_by = NULL)
} # }