Plot trends of multiple genes (clustered) across the binned pseudotime.
plotTrendCluster(
scmpObj,
xlab = "Pooled Pseudotime",
ylab = "log(Pseudobulk Expression)",
plot = "counts",
summary_mode = "median",
logs = TRUE,
logType = "log",
smoothness = 1,
includeInflu = TRUE,
verbose = TRUE,
pseudoCount = 1,
significant = FALSE,
curves = TRUE,
lines = FALSE,
points = TRUE,
parallel = FALSE,
loess_span = 0.8
)
An object of class ScMaSigPro
.
X-axis label. (Default is "Pooled Pseudotime")
Y-axis label. (Default is "Pseudobulk Expression")
Whether to plot 'coeff' or 'counts'. (Default is 'counts')
Compress the expression values per replicate (if present) per binned pseudotime point. Default is 'median'. Other option 'mean'
Whether to log transform counts. (Default is TRUE)
How to log transform the values. Available options 'log', 'log2', 'log10'. (Default is 'log')
How smooth the trend should be. Setting to higher values will result in more linear trends. (Default is 0.01)
Include gene only if it has influential data. (Default is TRUE)
Print detailed output in the console. (Default is TRUE)
Add a pseudo-count before taking the log. (Default is 1)
Include gene only if the models are significant based on
scMaSigPro::sc.filter()
. (Default is TRUE)
Whether to plot the fitted curves. (Default is TRUE)
Whether to plot the lines. (Default is FALSE)
Whether to plot the points. (Default is TRUE)
Use forking process to run parallelly. (Default is FALSE) (Currently, Windows is not supported)
The fraction of the data used when estimating each y-value, when plotting curves. (Default is 0.75)
ggplot2 plot object.