- Enhanced startup message for clarity. Not it guides the user to run
SCpubr::package_report(extended = TRUE)
to get an overview of the missing dependencies.
do_WafflePlot()
: This function displays proportions as a pictogram grid of 10x10 tiles. It helps to visually see at a glance the proportions of your data. This fails to correctly convey decimal proportions and completely ignores heavily under-represented classes in your dataset.do_RankedExpressionPlot()
to plot expression values as a heatmap along a diffusion component.
do_FunctionalAnnotationPlot()
.do_GroupedGOTermPlot()
.
The reason behind it is that they, together with do_TermEnrichmentPlot() targetted the same analysis and, therefore, were redundant.
do_DiffusionMapPlot()
is now calleddo_RankedEnrichmentPlot()
. As it now accepts any dimensional reduction and not only diffusion maps.
do_TermEnrichmentPlot()
: Recoded the whole function. Now accepts the result of usingclusterProfiler::enrichGO()
,clusterProfiler::enrichKEGG()
, etc. The output is a dot plot with the terms on the Y axis, the Gene Ratio in the X, colored by the adjusted p-value and size mapped to the Gene Count.do_DotPlot()
: Removed dependencies withSeurat::DotPlot()
.do_RankedEnrichmentPlot()
,do_EnrichmentHeatmap()
anddo_SCEnrichmentHeatmap()
do not longer acceptflavor = "AUCell"
due to dependency issues and lack of development support.
The reason of these modification is to allow for a much clearer and concise output than before.
- Enforced a minimum version of
ggalluvial
to deal with deprecation of functions fromdplyr
andtidyr
that were still used inggalluvial
functions.
- Added
legend.ncol
,legend.nrow
andlegend.byrow
parameters to control legend behavior. - Fixed a bug in which
map_signif_levels
would only accept a logical and not custom mappings. - When
map_signif_levels
is used, the mapping now appears as a plot legend for clarity.
- Added
include_chr_arms
parameter to decide whether the heatmap should include a breakdown of the arms or just keep it by chromosomes.
- Fixed a bug caused by using
cells.highlight
with only one cell. - Fixed a bug causing the "Combined" plot resulting of the use of
split.by
andgroup.by
to have a different size than the rest of panels whenncol
parameter was also used. - Fixed a bug causing a "selected_cells" plot title to show up when using
cells.highlight
andidents.highlight
. - Changed the plot title of the "Combined" plot to either
group.by
orsplit.by
depending of the usage context. - Added
split.by.combined
parameter and set its default value toTRUE
. This allows to toggle on or off whether to display the combined view whensplit.by
is used. - However, when
split.by
is used alongsidegroup.by
, it is now enforced to show the combined plot (split.by.combined = TRUE
), to avoid bugs. - Added
legend.dot.border
parameter to select whether we want a black border around the legend dots or not. - Fixed a bug in which
font.family
would not be applied whenlabel = TRUE
. (#76)
- Fixed a bug that caused sequential palettes to not be checked properly.
- Changed default value of
dot.scale
to 8. - Removed legacy parameter
colors.use
, which had no effect as of previous version but was still listed as parameter. - Removed dependency with
Seurat::DotPlot()
. This means that there will be some differences with the output of this function. However, this is a design choice for the sake of preventing future dependency problems. - Added
split.by
parameter. - If
features
is provided as a named list, the plot facets them based on the belonging list (duplcated genes are removed). Cannot be used alongsidesplit.by
. - Removed
scale
andscale.by
parameters. In the sense of how they worked inSeurat
. - Added
zscore.data
parameter. When set toTRUE
, it computes Z-scores for each gene across the different groups, allowing for inspection of which group has highest or lowest expression, but prevents you from comparing values across different genes. It is intended to be used alongsideslot = "data"
. - Removed the possibility to use a list of features. Instead, facets are being drawn according to
split.by
parameter. - Removed
dot_border
. This is a design choice ofSCpubr
.
- Changed default value of
scale_scores
toFALSE
. - Fixed a bug in which scores were not actually being scaled when
scale_scores = TRUE
. - Fixed a bug in which setting
scale_scores = TRUE
andfeatures.order
would trigger an error since the output had the suffix_scaled
on it. This has been patched.
- Fixed a bug in which legend titles would not show up as intended.
- Enabled the use of several legend titles when multiple features are provided. The number of legend titles and features have to be equal.
- Fixed a bug in which
font.family
would not be applied whenlabel = TRUE
. (#76)
- Added a new parameter
top_interactions_by_group
which when set toTRUE
will report for each pair ofsource
andtarget
, as many interactions as stated intop_interactions
.
- Removed
size = 1.25
aesthetic from the call toggridges::geom_ridge...
.
- Added
order
parameter to reorder the groups based on the median. Only works whensplit.by
is set toNULL
. - Fixed typos in error logging.
- Fixed a bug in which color palettes would not display by default when using
split.by
.
- Fixed an issue in which tags would be duplicated when using
use_labels = TRUE
in combination withorder_tabs_by = "both"
.
- Fixed a bug that prevented error messages stating the dependencies missing per function to show up properly.
- Fixed assumptions on Seurat v4 and v5 and reverted to the use of cannonical
GetAssayData
andSetAssayData
functions. - Fixed dependency problems with archived packages.
- Changed default continuous palette to
YlGnBu
. - Changed default legend title to
feature_to_rank
ifcontinous_feature = TRUE
. - Changed default value of
sequential.direction
to1
. - Changed default value of
legend.position
tobottom
whencontinuous_feature = FALSE
.
- Changed default value of
legend.position
tobottom
. - Fixed a bug in which legend key glyphs would not show up when using
use_silhouette = TRUE
.
- Fixed an issue in which using
min.cutoff
ormax.cutoff
would render the values outside these bounds to NA and therefore being plotted as grey. Now they will have the highest/lowest value possible.
- Added
symmetry.type
parameter, that allows to control how the symmetry is computed: either in absolute values (taking into account the highest and lowest value) or in the middle point specified bysymmetry.center
. - Added
symmetry.center
parameter, that allows to control the center of symmetry whensymmetry.type
is set tocentered
.
- Changed default value of
legend.position
tobottom
. - Fixed a bug in which the default color palette would not be applied when
plot_boxplots = FALSE
. - Added
legend.title.position
parameter and set it up astop
by default.
- Refactored startup messages to comply with CRAN policies.
- Removed
SCpubr::check_dependencies()
to support the use ofSCpubr::package_report()
.
- Fixed a bug that checked the package dependencies for the wrong function.
This major update focus on a complete re-implementation of all heatmap-based functions into ggplot2
instead of ComplexHeatmap
. This will lead to many of the existing code to break. The trade-off between the difficulty of debug, expand and maintain the existing heatmap-based functions with regards to the capabilities ComplexHeatmap offers with regards to ggplot2 was not worthy.
All heatmap-specific parameters have been replaced with the overarching parameters that are used across functions. This decision was taking after a lot of thought, but ultimately, having all plots rely on ggplot2 makes it way more compatible to work with them together, to debug, and to further implement new ideas.
Many (except a few selected cases) of the functions that returned list of different plots have been modified to return a single (and most important/relevant) plot and the option to return the Seurat object with the data generated added to it has been implemented so that the user can still generate plots with it. This goes in line with the fact that having so many interconnected functions made it very difficult to expand on them, if needed, as the downstream effects will cascade to other functions as well.
- Changed
viridis_color_map
toviridis.palette
. - Changed
viridis_direction
toviridis.direction
. - Changed
sequential_direction
tosequential.direction
. - Changed
rotate_x_axis_labels
toaxis.text.x.angle
. - Changed
rotate_strip_text
tostrip.text.angle
.
SCpubr::do_MetadataPlot()
to generate metadata heatmaps with ease both from Seurat object or from a data frame. Will be first released as part of thedevelopment version
and then released in CRAN as part of future updates. The idea is to gather feedback from users before officially releasing it.SCpubr::do_SCExpressionHeatmap()
to generate heatmaps of expression of genes across all cells in the dataset. Will be first released as part of thedevelopment version
and then released in CRAN as part of future updates. The idea is to gather feedback from users before officially releasing it.SCpubr::do_SCEnrichementHeatmap()
to generate heatmaps of enrichment of genes across all cells in the dataset. Will be first released as part of thedevelopment version
and then released in CRAN as part of future updates. The idea is to gather feedback from users before officially releasing it.SCpubr::do_AffinityAnalysisPlot()
to assess the affinity of gene sets to subset of cells in the Seurat objects using the weighted means algorithms from DecoupleR. Will be first released as part of thedevelopment version
and then released in CRAN as part of future updates. The idea is to gather feedback from users before officially releasing it.SCpubr::do_LoadingsPlot()
to generate a summary heatmap of the PCA loadings (top and bottom scored genes for each PC) together with a expression heatmap of the same genes. Will be first released as part of thedevelopment version
and then released in CRAN as part of future updates. The idea is to gather feedback from users before officially releasing it.SCpubr::do_DiffusionMapPlot()
to analyze the output of a diffusion map analysis on the context of enrichment in gene sets used for the generation of the diffusion map. Will be first released as part of thedevelopment version
and then released in CRAN as part of future updates. The idea is to gather feedback from users before officially releasing it.SCpubr::check_dependencies()
to generate a per-function summary of the needed packages to run the function. The report has been enhanced withcli
package and now clearly illustrates what is missing to run the function.
SCpubr::do_SankeyPlot()
has been removed and replaced bySCpubr::do_AlluvialPlot()
, which is present in the official CRAN versions.SCpubr::do_PseudotimePlot()
has been removed indefinitely until a better, revamped, state-of-the-art version is generated.SCpubr::do_AzimuthAnalysisPlot()
has been removed as the output can be accomplished by a combination of the current functions inSCpubr
. A vignette will be added to reproduce the same analysis.
- Now when using
min.cutoff
ormax.cutoff
, the legend will show that the min/max value is higher/lower than the one provided, if such value appeared originally in the legend breaks. This potentially interacts withenforce_symmetry
. - Added
number.breaks
parameter to control the number of breaks in the legend of ggplot2-based plots. It will not always work, as the function will try to fit the breaks accordingly. But still, will give some range of freedom to the user. - Removed
colorsteps
fromlegend.type
parameters as it was prone to generate unintended bugs. - Changed default values from
min.cutoff
andmax.cutoff
fromNULL
toNA
. - Implemented
diverging.palette
parameter in all plots that have a symmetrical color scale to help selecting other possible color scales for the plot. - Implemented
sequential.palette
parameter in all plots that have a continuous, non-symmetrical color scale to help selecting other possible color scales for the plot, in the case the user does not want to use viridis color scales. - Renamed
SCpubr::state_dependencies()
toSCpubr::check_dependencies()
. - Renewed printed messages at startup and while running functions using
cli
package. - Added the complete control of the font style of plot titles, subtitles, captions, axis titles, axis text, legend titles and legend text. For this, the following parameters have been added to all ggplot2-based functions:
plot.title.face
: To control the style of the title.plot.subtitle.face
: To control the style of the subtitle.plot.caption.face
: To control the style of the caption.axis.title.face
: To control the style of the axis title.axis.text.face
: To control the style of the axis text.legend.title.face
: To control the style of the legend title.legend.text.face
: To control the style of the legend text.
- Changed default font style for legend text from
bold
toplain
. - Changed default font style for axis text from
bold
toplain
. - When using
plot.axes = TRUE
parameter inSCpubr::do_DimPlot()
,SCpubr::do_FeaturePlot()
andSCpubr::do_NebulosaPlot()
, now the entirety of the X and Y axis is removed, titles included. - Remove plot margin padding in
SCpubr::do_DimPlot()
,SCpubr::do_FeaturePlot()
andSCpubr::do_NebulosaPlot()
.
- Added
sequential.palette
andsequential.direction
parameters.
- Added
facet.by
parameter to extra group the bars by a third metadata variable. - Added
order.by
to reorder the bars when usingposition = fill
based on a value ingroup.by
. - Limited the possible interactions from
group.by
,split.by
andorder.by
to those that make sense to plot. For instance, a bar plot usinggroup.by
andposition = fill
but not usingsplit.by
resulted in bars of equal lenght with only one value per group of proportion1
. - Set default value of
plot.grid
toFALSE
. - Added parameter
add.n
to display the total count on top whenposition = fill
. - Added parameter
add.n.face
to control the appearance of the text displayed. - Added parameter
add.n.expand
to control the range of values in the Y axis. This has to be minimum 0 and maximum at least 1. This is set in order to tweak the limits so that the labels fit whenflip = TRUE
.
- Added
order
parameter to reorder the groups based on the median rank.
- Changed the reordering of boxplots based on the median rather than the mean.
- Added
na.rm
togeom_boxplot
to avoid unnecessary warnings when introducing NAs as part of the data. - Fixed a bug in which
order
would not work ifNAs
are in the data. - Changed default value of
boxplot.linewidth
from1
to0.5
. - Fixed a bug in which when using a combination of
group.by
andsplit.by
, the package would check that the colors provided tocolors.use
need to match the values ingroup.by
and notsplit.by
.
- Added parameter to fix a bug in which viridis scales did not apply due to the lack of the parameter.
- Added
min.cutoff
andmax.cutoff
parameter to add cutoffs to the scales. - Added
mode = "jaccard"
to compute a correlation matrix of a list of gene sets based on jaccard similarity. - Added
use_viridis
,sequential.palette
andsequential_direction
anddiverging.palette
to control color palettes. - Added
cluster
parameter to toggle on/off the clustering of the rows and columns in the heatmap. - Added
remove.diagonal
parameter to toggle on/off the conversion of the diagonal in the correlation matrix toNA
. - Fixed several issues with setting cutoffs for the color scale using
min.cutoff
andmax.cutoff
. - Fixed an issue where
number.breaks
will not work inmode = "jaccard"
.
- Removed the option to compute Feature and Geyser plots.
- Instead, a new paramerter
return_object
has been added to return the Seurat object with a new assay containing the CNV scores per cell on thedata
slot of theCNV_scores
assay. - The main output visualization is now a heatmap with the averaged scores by chromosome and groups and also by chromosome arms.
- Modified underlying code to correctly display borders around cells when
cells.highlight
oridents.hightlight
oridents.keep
are used. Also removed the "Not selected" item from the legend when doing so, as it was redundant. - Fixed a bug in which multiple legend would appear when using a combination of
group.by
andsplit.by
, given that the individual UMAPs would not have the same number of entities to plot and color.
- Added
scale
parameter to allow for the data to be scaled or not scaled. - Removed
split.by
parameter in favor or the higher consistency and proper functionality accross parameters. Will probably come in the future, implemented outside of the umbrella of Seurat. - Renamed parameter
cluster.idents
tocluster
. - Removed the limitation of
flip
whenfeatures
was a list of genes. Now any combination offlip
andfeatures
is possible.
- Removed options to plot FeaturePlots, GeyserPlots, ViolinPlots, etc. - together with its related parameters. For the sake of simplicity in the function and its use, the user can get the Seurat object back with
return_object = TRUE
and plot the enrichment scores separately, that are stored as a new Assay. - Removed
return_matrix
parameter as the scores can now be retrieved from the Seurat object as an assay. - Enforcing the use of
named lists
as input for the function. - Added
cluster
parameter to allow for clustering of rows and columns. - Added
groups.order
to allow for specifically arrange the groups defined bygroup.by
with a given order. - Added
features.order
to allow for specifically arrange the gene sets defined byinput_gene_list
.
- Added
cluster
parameter to allow for clustering of rows and columns. - Added
groups.order
to allow for specifically arrange the groups defined bygroup.by
with a given order. - Added
features.order
to allow for specifically arrange the features defined byfeatures
.
- Modified underlying code to show a border around selected cells when using
split.by
,cells.hightlight
andidents.highlight
. - Added parameter
border.density
to reduce the amount of extra cells drawn on the background to generate the borders. This will be a number between 0 and 1 corresponding to the quantile of the distribution of density of the points in the scatterplot drawn in the background. The lower the value, the harder it will be to keep a border around all cells, while it will significantly reduce the overall weight of the plot object. - Added parameter
group.by
, that allows to plot a big dot in the center of each group designated bygroup.by
and thus allowing to locate easily where each identity is in the FeaturePlot. Also, plots a legend matching the color of the dots. This can be tweaked with additional parameters such as: group.by.show.dots
to controlw hether these dots are plotted or not (to allow only plotting colored borders around cells - see below).group.by.dot.size
to control the size of the introduced dots.group.by.cell_border
to plot another contour-like border which also displays the color coding of the clusters designated bygroup.by
, to signal the reach of each cluster. However, this basically signals the cluster the cells in the periphery of the cell blobs belong to. Take that into account.group.by.cell_borders.alpha
controls the alpha of the new cell borders.group.by.legend
controls the legend title of the new legend.- Renamed
split.by.idents
toidents.keep
to better synergize with the parameter inSCpubr::do_DimPlot
. Only works whensplit.by
is used.
- Removed the tree plots as they proved to behave inconsistently across datasets and the quality of visualizations were compromised.
- Removed the option to plot the bar plots and dot plots in the sake of a more simplified, streamlined plot generation.
- The option to return the result matrix using
return_matrix
is added, so that the user can use it to compute further analysis or visualizations.
- Renamed
order_by_mean
toorder
. - Ordering using
order = TRUE
now is done based on the median instead of the mean.
- Modified the accepted input so that only the result of
liana::liana_aggregate()
is taken into account. - Removed
arrange_interactions_by
as now the function only accepts the output ofliana::liana_aggregate()
. - Added a
sort.by
parameter instead to select how the output ofliana::liana_aggregate()
should be ordered prior the subset bytop_interactions
. Five modes are available:A
: Orders the output byspecificity
.B
: Orders the output bymagnitude
.C
: Orders the output byspecificity
thenmagnitude
. This prioritizes thespecificity
column.D
: Orders the output bymagnitude
thenspecificity
. This prioritizes themagnitude
column.E
: Orders the output byspecificity
andmagnitude
providing equal weights to both columns.
- Removed
flip
parameter as the output was prone to errors. - Removed parameter
compute_ChordDiagrams
and addedreturn_interactions
. This parameter returns two tibbles that can be used alongsideSCpubr::do_ChordDiagramPlot
to plot the diagrams. - Now the filtering applied by using
keep_source
andkeep_target
takes place before subsetting for the top N interactions defined bytop_interactions
. This ensures that, if the user wants to focus on a given interaction subset, we retrieve the most important interactions for the subset. - Added
magnitude
andspecificity
columns to allow the user to choose which variables to use for plotting. - Added
sorting.type.magnitude
andsorting.type.specificity
to allow the user to choose how the columns are sorted prior plotting. - Added
invert_magnitude
andinvert_specificity
to allow the user to choose how the data is displayed for columns that tend to 0. Inverting performs a-log10
transformation on the column. - Added a
verbose
parameter and set it toTRUE
by default to inform the user of the arrangements taking place in the output ofliana::liana_aggregate()
prior plotting.
- Removed the option to plot geyser and feature plots to simplify the use (and computational time) of the function.
- Introduced
return_object
parameter that returns the Seurat object with the new assay to use for other plotting purposes (such as Geyser and Feature plots). - Removed options to plot FeaturePlots, GeyserPlots - together with its related parameters. For the sake of simplicity in the function and its use, the user can get the Seurat object back with
return_object = TRUE
and plot the scores separately. - Added
slot
parameter to decide whether to plot scale data or not. - Fixed bug in which after setting
enforce_symmetry = FALSE
the color palette used wasdiverging.palette
instead.
- Removed the option to plot geyser and feature plots to simplify the use (and computational time) of the function.
- Introduced
return_object
parameter that returns the Seurat object with the new assay to use for other plotting purposes (such as Geyser and Feature plots). - Removed options to plot FeaturePlots, GeyserPlots - together with its related parameters. For the sake of simplicity in the function and its use, the user can get the Seurat object back with
return_object = TRUE
and plot the scores separately. - Added
slot
parameter to decide whether to plot scale data or not. - Fixed bug in which after setting
enforce_symmetry = FALSE
the color palette used wasdiverging.palette
instead.
More hotfixes in unit tests to comply with CRAN checks.
Hotfixes in unit tests to comply with CRAN checks.
- Increased the cell size of all heatmap-based functions from 5 to 8.
- Decreased the thickness of frame and ticks of all ggplot2-based continuous legends to retrieve a similar behavior as in previous versions of ggplot2, as with the new update, the overall thickness of the frame and ticks increased, probably due to the changes related to
element_line
, - Added five new functions:
do_AlluvialPlot()
,do_AzimuthAnalysisPlot()
,do_ExpressionHeatmap()
,do_GroupedGOTermPlot()
anddo_FunctionalAnnotationPlot()
. - Added
legend.ncol
,legend.nrow
,legend.title
andlegend.byrow
to as many functions as possible to further customize legend appearance.
- Added
min.cutoff
andmax.cutoff
parameter. - Added ticks to the plot, that were missing.
- Added missing axes titles.
- Added
viridis_direction
parameter to control how the continuous color scale is formed. - Added
return_object
parameter to return the Seurat object with the enrichment scores computed. - Added BoxPlots, BeeSwarmPlots and ViolinPlots to the possible outputs the user can choose from.
- Make
legend.position
conditional of whethercontinuous_feature
is set to TRUE. If it is false, legend is not displayed unless the user specifies otherwise.
- Fixed a bug in which axes titles were not displaying correctly under certain combinations of
flip
andsplit.by
. - Fixed a bug in which
x_lab
andy_lab
would not rotate accordingly when usingflip = TRUE
.
- Adapted the code to the new 0.7.1 version of the package, thus deprecating the
groupOnX
parameter ofgeom_quarirandom
. This will likely affect users with a lower version. - A warning has been placed for the users in lower versions of the need to upgrade to 0.7.1.
- This changes are subject to the new behaviors/deprecations of ggplot2 and ggplot2.
- Set
assay
to NULL and will default to the default assay in the seurat object.
- Fixed a bug that prevented FeaturePlots to have symmetrical axes with respect to the main plot.
- Added
viridis_direction
parameter.
- Fixed a bug in which the legend title will not show up in regular basic plots even though the parameter
legend.title
was used. - Completely reformatted the way
split.by
works, so that now only one legend is displayed for the whole group and cells have border. - Added
label.size
andlabel.box
parameters for further customize the appearance of the plot when usinglabel = TRUE
. - Changed
repel
toFALSE
by default.
- Fixed a bug in the code that prevented the feature plots and the geyser plots to be computed if the input gene list was not a named list of genes.
- Added
flavor = "AUCell"
, that lets the user compute AUCell scoring of the gene sets. - Added the option to query multiple
group.by
parameters at the same time. - Fixed a bug in the code that prevented multiple outputs with different values of
group.by
to be returned properly, leading to the last value ofgroup.by
replacing all the rest.
- Added
label
,label.size
andlabel.color
parameter to reproduce the same behavior as inSeurat::FeaturePlot()
.
- Set
assay
to NULL and will default to the default assay in the seurat object.
- Added
arrange_interactions_by
to control how output interactions are arranged (either by aggregate_rank, specificity, magnitude or a combination of magnitude and specificity). - Added
sort_interactions_alphabetically
to control whether the output dotplot has the interactions ordered alphabetically or as they come in the original matrix (meaning, they follow the arrangement specified inarrange_interactions_by
). ((liana's issue #72))
- Added a fix in which when
enforce_symmetry
is set toFALSE
, then the color scale turns into a viridis-based one instead of a two-color gradient scale.
- Added a fix in which when
enforce_symmetry
is set toFALSE
, then the color scale turns into a viridis-based one instead of a two-color gradient scale.
- Fixed a bug in the code in which no different colors could be passed to
colors.use
. - Reduced default line width from 1 to 0.5.
- Hotfix for v1.0.3 in which
do_GeyserPlot
with categorical variables had a bug that mapped the legend to the continuous axis.
- Added
min.cutoff
andmax.cutoff
parameter to effectively subset the color scale and remove the effect of extreme outliers in all ComplexHeatmap-based functions. - Added
min.cutoff
andmax.cutoff
parameter to effectively subset the color scale and remove the effect of extreme outliers in all ggplot2-based functions susceptible to be biased by outliers.
- Implemented a change in which when using
split.by
andgroup.by
in combination, the cells colored on top of the UMAP also have a border. - Implemented a bug-fix in which when using
split.by
andgroup.by
in combination, the extra new layers would not raster ifraster = TRUE
. - Implemented a bug-fix in which when using
split.by
andgroup.by
in combination, no plots will appear ifncol
is set. - Implemented a new feature to add density line contours using
plot_density_contour
. - Implemented the conditional use of
raster.dpi
to Seurat versions higher or equal to 4.1.0.
- Implemented a bug fix for internal checks in the function.
- Added
plot_FeaturePlots
andplot_GeyserPlots
to also report the enrichment scores in a gene set-based manner. - Added
flavor
parameter, that acceptsSeurat
andUCell
to allow for different enrichment scoring methods. It requiresR 4.2.0
to run. - Renamed
symmetrical_scale
toenforce_symmetry
to have a greater coherence across functions.
- Implemented a new feature to add density line contours using
plot_density_contour
. - Implemented the conditional use of
raster.dpi
to Seurat versions higher or equal to 4.1.0.
- Fixed bug in which internal parameter names made it to the X axis title.
- Removed
color.by
implementation due to it being very buggy. This will be re-implemented in a future patch.
- Implemented a bug-fix in which using
assay = "RNA"
or, in fact, any other assay rather thanSCT
will result in an error.
- Corrected a bug in which legend title when using
split.by
was an actual line of code. - Added
legend.title
parameter to control the title of the legend.
- Same as v1.0.3, but with all the functions that do not pass CRAN checks. These functions are:
SCpubr::save_Plot()
SCpubr::do_LigandReceptorPlot()
andSCpubr::do_SankeyPlot()
.
- Change color palette when using
enforce_symmetry = TRUE
to have the middle color asgrey95
instead of the previous one, which made middle values seem closer to the positive end of the scale. - Modified internal structure of all functions to abide with tidyselect v1.2.0 lifecycle modifications.
- Modified
rotate_x_axis_labels
parameter in all functions that made use of it. Now, instead of accepting alogical
, accepts anumeric
: either0
,45
or90
, corresponding to the degrees in which the X axis labels should be rotated. (#5)
- Modified the code for
SCpubr::do_CopyNumberVariantPlot
to also report results for the whole chromosome as well as for each chromosome arm. - Include the
verbose
argument toSCpubr::do_CopyNumberVariantPlot
to silence the messages when there are not enough genes in the chromosome to perform the analysis.
- Fixed a typo that prevented labels to be bold in
SCpubr::do_DimPlot()
when cell borders are displayed. - Added
group.by
andsplit.by
functionality toSCpubr::do_DimPlot()
. (#4)
- Added ticks to axes.
- Modified default colors to convey a better aesthetic.
- Fixed potential bugs in
SCpubr::do_FeaturePlot
when settingenforce_symmetry = TRUE
. - Changed default value of
order
inSCpubr::do_FeaturePlot()
fromTRUE
toFALSE
. - Added
min.cutoff
andmax.cutoff
parameters toSCpubr::do_FeaturePlot()
. This allows to effectively subset the color scale to the values provided. Cells outside the range will be converted to the min or max values provided, respectively. (#2)
- Added
flip
parameter.
- Fixed bug in
SCpubr::do_GroupwiseDEPlot
in which the heatmap could not be computed. (#3) - Added extra checks to ensure proper input in
SCpubr::do_GroupwiseDEPlot
. (#3)
- Changed parameter
x_labels_angle
torotate_x_axis_labels
to keep a consistent terminology.
- Fixed a typo that made the lines in
panel.grid.minor
to be displayed inSCpubr::do_Ridgeplot()
. - Added
flip
parameter.
- Added
split.by
functionality toSCpubr::do_ViolinPlot()
. (#4, #5) - Added
flip
parameter. - Now multiple features can be queried ad the same time. (#5)
- Changed
feature
parameter tofeatures
, to better reflect the multiple feature behavior. - Recreated
Seurat
'sshare.y.lims
behavior and set it toshare.y.lims
parameter. (#5)
- Same as v1.0.2, but with all the functions that do not pass CRAN checks. These functions are:
SCpubr::save_Plot()
SCpubr::do_LigandReceptorPlot()
andSCpubr::do_SankeyPlot()
.
- Rework on unit tests and examples so that it can pass CRAN R CMD Check without packages in Suggests. This is, to make sure all Suggested packages are used conditionally.
- Same as v1.0.1, but with all the functions that do not pass CRAN checks. These functions are:
SCpubr::save_Plot()
SCpubr::do_LigandReceptorPlot()
andSCpubr::do_SankeyPlot()
.
- Modified internal checks so that the functions that do not use
Seurat
do not require this to be installed. This is just for the very side case in which somebody downloads the package just for theSCpubr::do_ColorPalette()
function. - Removed the option to use
individual.titles
, 'individual.subtitlesand
individual.captionsin
SCpubr::do_NebulosaPlot()` as the benefit of such parameters did not surpass the problems the code was causing. The feature might come back in the future, once fully optimized. - Removed
SCpubr::save_Plot()
function to align with CRAN policies that the package should not write to the file system. The code is still available in the v0.0.0.0.9000 release in Github. - Removed
SCpubr::do_LigandReceptorPlot()
,SCpubr::do_SankeyPlot()
andSCpubr::do_PseudotimePlot()
to align with CRAN policies and make it possible to publish the package. These functions can still be accessed in the v0.0.0.0.9000 release in Github. - Removed
SCpubr::do_PseudotimePlot()
for the reason above and because the dependencyMatrix.utils
was removed from CRAN on 09-10-2022.
- Same as v1.0.0, but with all the functions that do not pass CRAN checks. These functions are:
SCpubr::save_Plot()
SCpubr::do_LigandReceptorPlot()
andSCpubr::do_SankeyPlot()
.
- Added a
NEWS.md
file to track changes to the package. - Prepare package for submission to CRAN.