Despite the minor version bump, this update contains substantial performance improvements in the Shiny app, specifically in the projections.
Plotly.react()
Javascript function instead of redrawn from scratch inside R when changing the input variables. For the user, that means that (1) plots are drawn much quicker and (2) the current zoom/pan settings are maintained when switching plot parameters (coloring variable, point size/opacity, etc).closed
mode, e.g. because you want to decrease the point size in a large data set. The respective parameters can be found in the description of the launchCerebroV1.3()
function.crb_file_to_load
parameter of the launchCerebroV1.3()
function (or as part of Cerebro.options
) can now be set to the name of a Cerebro_v1.3
object. That means you can load the data set before launching Cerebro (with readRDS()
) and make Cerebro initialize itself with it. This is particularly useful when hosting Cerebro in closed
mode, preventing that each user session has to read the data set from disk.getEnrichedPathways()
function. Make it configurable in case of further changes to the API.Because this is a relatively big release, I have prepared a dedicated article with release notes for cerebroApp v1.3 that you can find in the navigation bar.
Cerebro_v1.3
.Seurat::UpdateSeuratObject()
function to update their Seurat object before exporting it for visualization in Cerebro; (2) use older Cerebro version. I apologize for the any trouble this may cause.SingleCellExperiment
(SCE) objects.NA
values for cell assignment to one of the specified grouping variables will be replaced by N/A
and put into a separate group ("N/A") when exporting the data.getEnrichedPathways()
no longer results in an error when marker genes are present but no database returns any enriched pathways, e.g. because there are too few marker genes. Thanks to @turkeyri for pointing it out and suggesting a solution!RNA
through the assay
parameter in relevant functions.version
parameter in launchCerebro()
..crb
file.exportFromSeurat()
when extracting trajectories..crb
file. If no colors have been assigned to samples and clusters when loading a data set, they will be assigned then.getMarkerGenes()
function, it tries at max. 3 times to contact the biomaRt server and continues without if all attempts failed. Sometimes the server does not respond which gave an error in previous versions of the function..
in dplyr pipes with rlang::.data
, etc.).extractMonocleTrajectory()
: Users can extract data from trajectories calculated with Monocle v2.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.