R/htmlReports.R
reportSeuratResults.RdGenerates an HTML report for Seurat Results (including Clustering & Marker Selection) and returns the SCE object with the results computed and stored inside the object.
reportSeuratResults(
inSCE,
biological.group = NULL,
phenotype.groups = NULL,
selected.markers = NULL,
clustering.resolution = 0.8,
pc.count = 50,
plotTSNE = TRUE,
plotUMAP = TRUE,
runClustering = TRUE,
runMSClusters = TRUE,
runMSBioGroup = TRUE,
numTopFeatures = 10,
outputFile = NULL,
outputPath = NULL,
subtitle = NULL,
authors = NULL,
showSession = FALSE,
pdf = FALSE,
forceRun = FALSE
)Input SingleCellExperiment
object previously passed through reportSeuratRun().
A character value that specifies the name of the
colData() column to use as the main biological group in the Seurat
report for marker selection and grouping.
A character vector that specifies the names of the
colData() columns to use for differential expression in addition to
the biological.group parameter.
A character vector containing the user-specified gene symbols or feature names of marker genes that be used to generate gene plots in addition to the gene markers computed from differential expression.
A numeric value indicating the user-specified
final resolution to use with clustering. Default is 0.8.
A numeric value indicating the number of principal components
to use in the analysis workflow. Default is 50.
A logical value indicating if TSNE plots should be visualized
in the clustering section of the report. Default is TRUE.
A logical value indicating if UMAP plots should be visualized
in the clustering section of the report. Default is TRUE.
A logical value indicating if Clustering should be run
or not in the report. Default is TRUE. If FALSE, parameters
plotTSNE and plotUMAP are also set to FALSE.
A logical value indicating if the marker selection
section for identifying marker genes between clusters should be run and
visualized in the report. Default TRUE.
A logical value indicating if the marker selection
section for identifying marker genes between the biological.group
parameter should be run and visualized in the report. Default TRUE.
A numeric value indicating the number of top features
to visualize in each group. Default 10.
Specify the name of the generated output HTML file.
If NULL then the output file name will be based on the name of the
Rmarkdown template. Default NULL.
Specify the name of the output directory to save the
rendered HTML file. If NULL the file is stored to the current
working directory. Default NULL.
A character value specifying the subtitle to use in the
report. Default NULL.
A character value specifying the names of the authors to use
in the report. Default NULL.
A logical value indicating if session information
should be displayed or not. Default is FALSE.
A logical value indicating if a pdf should also be generated for
each figure in the report. Default is FALSE.
A logical value indicating if all computations previously
computed should be re-calculated regardless if these computations are
available in the input object. Default is FALSE.
A SingleCellExperiment object
with computations stored.