Recent Releases of scpubr
scpubr -
Same as v2.0.2, but with all the functions that do not pass CRAN checks and those that are in active development.
On top of that, also contains these changes that will roll out on version 2.0.3:
do_DimPlot()
- Fixed a bug caused by using
cells.highlightwith only one cell.
do_EnrichmentHeatmap()
- Changed default value of
scale_scorestoFALSE. - Fixed a bug in which scores were not actually being scaled when
scale_scores = TRUE. - Fixed a bug in which setting
scale_scores = TRUEandfeatures.orderwould trigger an error since the output had the suffix_scaledon it. This has been patched.
do_LigandReceptorPlot()
- Added a new parameter
top_interactions_by_groupwhich when set toTRUEwill report for each pair ofsourceandtarget, as many interactions as stated intop_interactions.
Can be installed using:
r
devtools::install_github("enblacar/SCpubr", ref = "v2.0.2-dev-stable")
- R
Published by enblacar over 2 years ago
scpubr - 2.0.2
SCpbur v2.0.2
General.
- 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
GetAssayDataandSetAssayDatafunctions. - Fixed dependency problems with archived packages.
do_BeeSwarmPlot()
- Changed default continuous palette to
YlGnBu. - Changed default legend title to
feature_to_rankifcontinous_feature = TRUE. - Changed default value of
sequential.directionto1. - Changed default value of
legend.positiontobottomwhencontinuous_feature = FALSE.
do_BoxPlot()
- Changed default value of
legend.positiontobottom. - Fixed a bug in which legend key glyphs would not show up when using
use_silhouette = TRUE.
do_CopyNumberVariantPlot()
- Fixed an issue in which using
min.cutofformax.cutoffwould render the values outside these bounds to NA and therefore being plotted as grey. Now they will have the highest/lowest value possible.
do_FeaturePlot()
- Added
symmetry.typeparameter, 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.centerparameter, that allows to control the center of symmetry whensymmetry.typeis set tocentered.
do_ViolinPlot()
- Changed default value of
legend.positiontobottom. - Fixed a bug in which the default color palette would not be applied when
plot_boxplots = FALSE. - Added
legend.title.positionparameter and set it up astopby default.
- R
Published by enblacar over 2 years ago
scpubr - 2.0.1-dev-stable
Same as v2.0.1, but with all the functions that do not pass CRAN checks and those that are in active development.
Can be installed using:
r
devtools::install_github("enblacar/SCpubr", ref = "v2.0.1-dev-stable")
- R
Published by enblacar almost 3 years ago
scpubr - 2.0.1
General
- Refactored startup messages to comply with CRAN policies.
Removed functions
- Removed
SCpubr::check_dependencies()to support the use ofSCpubr::package_report().
SCpubr::do_EnrichmentHeatmap
- Fixed a bug that checked the package dependencies for the wrong function.
- R
Published by enblacar almost 3 years ago
scpubr - 2.0.0-dev-stable
Same as v2.0.0, but with all the functions that do not pass CRAN checks and those that are in active development.
Can be installed using:
r
devtools::install_github("enblacar/SCpubr", ref = "v2.0.0-dev-stable")
- R
Published by enblacar almost 3 years ago
scpubr - 2.0.0-dev-stable
Same as v2.0.0, but with all the functions that do not pass CRAN checks and those that are in active development.
Can be installed using:
r
devtools::install_github("enblacar/SCpubr", ref = "v2.0.0-dev-stable")
- R
Published by enblacar almost 3 years ago
scpubr - 2.0.0
SCpubr v2.0.0
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.
Parameter renaming
- Changed
viridis_color_maptoviridis.palette. - Changed
viridis_directiontoviridis.direction. - Changed
sequential_directiontosequential.direction. - Changed
rotate_x_axis_labelstoaxis.text.x.angle. - Changed
rotate_strip_texttostrip.text.angle.
New functions (available on the development build for extended texting)
-
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 versionand 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 versionand 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 versionand 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 versionand 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 versionand 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 versionand 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 withclipackage and now clearly illustrates what is missing to run the function.
Removed functions
-
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.
General
- Now when using
min.cutofformax.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.breaksparameter 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
colorstepsfromlegend.typeparameters as it was prone to generate unintended bugs. - Changed default values from
min.cutoffandmax.cutofffromNULLtoNA. - Implemented
diverging.paletteparameter in all plots that have a symmetrical color scale to help selecting other possible color scales for the plot. - Implemented
sequential.paletteparameter 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
clipackage. - 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
boldtoplain. - Changed default font style for axis text from
boldtoplain. - When using
plot.axes = TRUEparameter 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().
SCpubr::do_AlluvialPlot
- Added
sequential.paletteandsequential.directionparameters.
SCpubr::do_BarPlot
- Added
facet.byparameter to extra group the bars by a third metadata variable. - Added
facet.by.directionparameter to decide in which direction the facets are drawn. - Added
order.byto reorder the bars when usingposition = fillbased on a value ingroup.by. - Limited the possible interactions from
group.by,split.byandorder.byto those that make sense to plot. For instance, a bar plot usinggroup.byandposition = fillbut not usingsplit.byresulted in bars of equal lenght with only one value per group of proportion1. - Set default value of
plot.gridtoFALSE. - Added parameter
add.nto display the total count on top whenposition = fill. - Added parameter
add.n.faceto control the appearance of the text displayed. - Added parameter
add.n.expandto 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.
SCpubr::do_BeeSwarmPlot
- Added
orderparameter to reorder the groups based on the median rank.
SCpubr::do_BoxPlot
- Changed the reordering of boxplots based on the median rather than the mean.
- Added
na.rmtogeom_boxplotto avoid unnecessary warnings when introducing NAs as part of the data. - Fixed a bug in which
orderwould not work ifNAsare in the data. - Changed default value of
boxplot.linewidthfrom1to0.5. - Fixed a bug in which when using a combination of
group.byandsplit.by, the package would check that the colors provided tocolors.useneed to match the values ingroup.byand notsplit.by.
SCpubr::do_CorrelationPlot
- Added parameter to fix a bug in which viridis scales did not apply due to the lack of the parameter.
- Added
min.cutoffandmax.cutoffparameter 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.paletteandsequential_directionanddiverging.paletteto control color palettes. - Added
clusterparameter to toggle on/off the clustering of the rows and columns in the heatmap. - Added
remove.diagonalparameter 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.cutoffandmax.cutoff. - Fixed an issue where
number.breakswill not work inmode = "jaccard".
SCpubr::do_CopyNumberVariantPlot()
- Removed the option to compute Feature and Geyser plots.
- Instead, a new paramerter
return_objecthas been added to return the Seurat object with a new assay containing the CNV scores per cell on thedataslot of theCNV_scoresassay. - The main output visualization is now a heatmap with the averaged scores by chromosome and groups and also by chromosome arms.
SCpubr::do_DimPlot
- Modified underlying code to correctly display borders around cells when
cells.highlightoridents.hightlightoridents.keepare 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.byandsplit.by, given that the individual UMAPs would not have the same number of entities to plot and color.
SCpubr::do_DotPlot
- Added
scaleparameter to allow for the data to be scaled or not scaled. - Removed
split.byparameter 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.identstocluster. - Removed the limitation of
flipwhenfeatureswas a list of genes. Now any combination offlipandfeaturesis possible.
SCpubr::do_EnrichmentHeatmap
- 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 = TRUEand plot the enrichment scores separately, that are stored as a new Assay. - Removed
return_matrixparameter as the scores can now be retrieved from the Seurat object as an assay. - Enforcing the use of
named listsas input for the function. - Added
clusterparameter to allow for clustering of rows and columns. - Added
groups.orderto allow for specifically arrange the groups defined bygroup.bywith a given order. - Added
features.orderto allow for specifically arrange the gene sets defined byinput_gene_list.
SCpubr::do_ExpressionHeatmap
- Added
clusterparameter to allow for clustering of rows and columns. - Added
groups.orderto allow for specifically arrange the groups defined bygroup.bywith a given order. - Added
features.orderto allow for specifically arrange the features defined byfeatures.
SCpubr::do_FeaturePlot
- Modified underlying code to show a border around selected cells when using
split.by,cells.hightlightandidents.highlight. - Added parameter
border.densityto 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.byand 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.dotsto controlw hether these dots are plotted or not (to allow only plotting colored borders around cells - see below). -
group.by.dot.sizeto control the size of the introduced dots. -
group.by.cell_borderto 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.alphacontrols the alpha of the new cell borders. -
group.by.legendcontrols the legend title of the new legend. - Renamed
split.by.identstoidents.keepto better synergize with the parameter inSCpubr::do_DimPlot. Only works whensplit.byis used.
SCpubr::do_FunctionalAnnotationPlot
- 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_matrixis added, so that the user can use it to compute further analysis or visualizations.
SCpubr::do_FunctionalAnnotationPlot
- Renamed
order_by_meantoorder. - Ordering using
order = TRUEnow is done based on the median instead of the mean.
SCpubr::do_LigandReceptorPlot()
- Modified the accepted input so that only the result of
liana::liana_aggregate()is taken into account. - Removed
arrange_interactions_byas now the function only accepts the output ofliana::liana_aggregate(). - Added a
sort.byparameter 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 byspecificitythenmagnitude. This prioritizes thespecificitycolumn.D: Orders the output bymagnitudethenspecificity. This prioritizes themagnitudecolumn.E: Orders the output byspecificityandmagnitudeproviding equal weights to both columns.
- Removed
flipparameter as the output was prone to errors. - Removed parameter
compute_ChordDiagramsand addedreturn_interactions. This parameter returns two tibbles that can be used alongsideSCpubr::do_ChordDiagramPlotto plot the diagrams. - Now the filtering applied by using
keep_sourceandkeep_targettakes 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
magnitudeandspecificitycolumns to allow the user to choose which variables to use for plotting. - Added
sorting.type.magnitudeandsorting.type.specificityto allow the user to choose how the columns are sorted prior plotting. - Added
invert_magnitudeandinvert_specificityto allow the user to choose how the data is displayed for columns that tend to 0. Inverting performs a-log10transformation on the column. - Added a
verboseparameter and set it toTRUEby default to inform the user of the arrangements taking place in the output ofliana::liana_aggregate()prior plotting.
SCpubr::do_PathwayActivityPlot()
- Removed the option to plot geyser and feature plots to simplify the use (and computational time) of the function.
- Introduced
return_objectparameter 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 = TRUEand plot the scores separately. - Added
slotparameter to decide whether to plot scale data or not. - Fixed bug in which after setting
enforce_symmetry = FALSEthe color palette used wasdiverging.paletteinstead.
SCpubr::do_TFActivityPlot()
- Removed the option to plot geyser and feature plots to simplify the use (and computational time) of the function.
- Introduced
return_objectparameter 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 = TRUEand plot the scores separately. - Added
slotparameter to decide whether to plot scale data or not. - Fixed bug in which after setting
enforce_symmetry = FALSEthe color palette used wasdiverging.paletteinstead.
- R
Published by enblacar almost 3 years ago
scpubr - 1.1.2-dev-stable
Same as v1.1.2, but with all the functions that do not pass CRAN checks. These functions are: SCpubr::savePlot() SCpubr::doLigandReceptorPlot() and SCpubr::do_SankeyPlot().
r
devtools::install_github("enblacar/SCpubr", ref = "v1.1.2-dev-stable")
- R
Published by enblacar over 3 years ago
scpubr - 1.1.1-dev-stable
Same as v1.1.1, but with all the functions that do not pass CRAN checks. These functions are: SCpubr::savePlot() SCpubr::doLigandReceptorPlot() and SCpubr::do_SankeyPlot().
r
devtools::install_github("enblacar/SCpubr", ref = "v1.1.1-dev-stable")
- R
Published by enblacar over 3 years ago
scpubr - 1.1.0-dev-stable
Same as v1.1.0, but with all the functions that do not pass CRAN checks. These functions are: SCpubr::savePlot() SCpubr::doLigandReceptorPlot() and SCpubr::do_SankeyPlot().
r
devtools::install_github("enblacar/SCpubr", ref = "v1.1.0-dev-stable")
- R
Published by enblacar over 3 years ago
scpubr - 1.1.0
SCpubr v1.1.0
Can be installed via CRAN:
r
install.packages("SCpubr")
Or via GitHub:
r
devtools::install_github("enblacar/SCpubr", ref = "v1.1.0")
Patch notes
General
- 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.titleandlegend.byrowto as many functions as possible to further customize legend appearance.
SCpubr::do_BeeSwarmPlot()
- Added
min.cutoffandmax.cutoffparameter. - Added ticks to the plot, that were missing.
- Added missing axes titles.
- Added
viridis_directionparameter to control how the continuous color scale is formed. - Added
return_objectparameter 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.positionconditional of whethercontinuous_featureis set to TRUE. If it is false, legend is not displayed unless the user specifies otherwise.
SCpubr::do_BarPlot()
- Fixed a bug in which axes titles were not displaying correctly under certain combinations of
flipandsplit.by. - Fixed a bug in which
x_labandy_labwould not rotate accordingly when usingflip = TRUE.
SCpubr::do_BeeSwarmPlot()
- Adapted the code to the new 0.7.1 version of the package, thus deprecating the
groupOnXparameter 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.
SCpubr::do_BoxPlot()
- Set
assayto NULL and will default to the default assay in the seurat object.
SCpubr::do_CellularStatesPlot()
- Fixed a bug that prevented FeaturePlots to have symmetrical axes with respect to the main plot.
SCpubr::do_CorrelationPlot()
- Added
viridis_directionparameter.
SCpubr::do_DimPlot()
- Fixed a bug in which the legend title will not show up in regular basic plots even though the parameter
legend.titlewas used. - Completely reformatted the way
split.byworks, so that now only one legend is displayed for the whole group and cells have border. - Added
label.sizeandlabel.boxparameters for further customize the appearance of the plot when usinglabel = TRUE. - Changed
repeltoFALSEby default.
SCpubr::do_EnrichmentHeatmap()
- 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.byparameters at the same time. - Fixed a bug in the code that prevented multiple outputs with different values of
group.byto be returned properly, leading to the last value ofgroup.byreplacing all the rest.
SCpubr::do_FeaturePlot()
- Added
label,label.sizeandlabel.colorparameter to reproduce the same behavior as inSeurat::FeaturePlot().
SCpubr::do_GroupwiseDEPlot()
- Set
assayto NULL and will default to the default assay in the seurat object.
SCpubr::do_LigandReceptorPlot()
- Added
arrange_interactions_byto control how output interactions are arranged (either by aggregate_rank, specificity, magnitude or a combination of magnitude and specificity). - Added
sort_interactions_alphabeticallyto 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)
do_PathwayActivityPlot()
- Added a fix in which when
enforce_symmetryis set toFALSE, then the color scale turns into a viridis-based one instead of a two-color gradient scale.
do_TFActivityPlot()
- Added a fix in which when
enforce_symmetryis set toFALSE, then the color scale turns into a viridis-based one instead of a two-color gradient scale.
SCpubr::do_ViolinPlot()
- 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.
- R
Published by enblacar over 3 years ago
scpubr - 1.0.4-dev-stable
Same as v1.0.4, but with all the functions that do not pass CRAN checks. These functions are: SCpubr::savePlot() SCpubr::doLigandReceptorPlot() and SCpubr::do_SankeyPlot().
r
devtools::install_github("enblacar/SCpubr", ref = "v1.0.4-dev-stable")
- R
Published by enblacar over 3 years ago
scpubr - 1.0.3-dev-stable
Same as v1.0.3, but with all the functions that do not pass CRAN checks. These functions are: SCpubr::savePlot() SCpubr::doLigandReceptorPlot() and SCpubr::do_SankeyPlot().
r
devtools::install_github("enblacar/SCpubr", ref = "v1.0.3-dev-stable")
- R
Published by enblacar over 3 years ago
scpubr - 1.0.3
Can be installed via CRAN:
r
install.packages("SCpubr")
Or via GitHub:
r
devtools::install_github("enblacar/SCpubr", ref = "v1.0.3")
SCpubr v1.0.3
General
- Added
min.cutoffandmax.cutoffparameter to effectively subset the color scale and remove the effect of extreme outliers in all ComplexHeatmap-based functions. - Added
min.cutoffandmax.cutoffparameter to effectively subset the color scale and remove the effect of extreme outliers in all ggplot2-based functions susceptible to be biased by outliers.
SCpubr::do_DimPlot()
- Implemented a change in which when using
split.byandgroup.byin combination, the cells colored on top of the UMAP also have a border. - Implemented a bug-fix in which when using
split.byandgroup.byin combination, the extra new layers would not raster ifraster = TRUE. - Implemented a bug-fix in which when using
split.byandgroup.byin combination, no plots will appear ifncolis set. - Implemented a new feature to add density line contours using
plot_density_contour. - Implemented the conditional use of
raster.dpito Seurat versions higher or equal to 4.1.0.
SCpubr::do_EnrichmentHeatmap()
- Implemented a bug fix for internal checks in the function.
- Added
plot_FeaturePlotsandplot_GeyserPlotsto also report the enrichment scores in a gene set-based manner. - Added
flavorparameter, that acceptsSeuratandUCellto allow for different enrichment scoring methods. It requiresR 4.2.0to run. - Renamed
symmetrical_scaletoenforce_symmetryto have a greater coherence accross functions.
SCpubr::do_FeaturePlot()
- Implemented a new feature to add density line contours using
plot_density_contour. - Implemented the conditional use of
raster.dpito Seurat versions higher or equal to 4.1.0.
SCpubr::do_GeyserPlot()
- Fixed bug in which internal parameter names made it to the X axis title.
- Removed
color.byimplementation due to it being very buggy. This will be re-implemented in a future patch.
SCpubr::do_RidgePlot()
- Implemented a bug-fix in which using
assay = "RNA"or, in fact, any other assay rather thanSCTwill result in an error.
SCpubr::do_ViolinPlot()
- Corrected a bug in which legend title when using
split.bywas an actual line of code. - Added
legend.titleparameter to control the title of the legend.
- R
Published by enblacar over 3 years ago
scpubr - 1.0.2-dev-stable
Same as v1.0.2, but with all the functions that do not pass CRAN checks. These functions are: SCpubr::savePlot() SCpubr::doLigandReceptorPlot() and SCpubr::do_SankeyPlot().
r
devtools::install_github("enblacar/SCpubr", ref = "v1.0.2-dev-stable")
- R
Published by enblacar over 3 years ago
scpubr - 1.0.2
Can be installed using:
r
devtools::install_github("enblacar/SCpubr", ref = "v1.0.2")
General changes
- Change color palette when using
enforce_symmetry = TRUEto have the middle color asgrey95instead 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_labelsparameter in all functions that made use of it. Now, instead of accepting alogical, accepts anumeric: either0,45or90, corresponding to the degrees in which the X axis labels should be rotated. (#5)
SCpubr::do_CopyNumberVariantPlot
- Modified the code for
SCpubr::do_CopyNumberVariantPlotto also report results for the whole chromosome as well as for each chromosome arm. - Include the
verboseargument toSCpubr::do_CopyNumberVariantPlotto silence the messages when there are not enough genes in the chromosome to perform the analysis.
SCpubr::do_DimPlot()
- Fixed a typo that prevented labels to be bold in
SCpubr::do_DimPlot()when cell borders are displayed. - Added
group.byandsplit.byfunctionality toSCpubr::do_DimPlot(). (#4)
SCpubr::do_DotPLot()
- Added ticks to axes.
- Modified default colors to convey a better aesthetic.
SCpubr::do_FeaturePlot()
- Fixed potential bugs in
SCpubr::do_FeaturePlotwhen settingenforce_symmetry = TRUE. - Changed default value of
orderinSCpubr::do_FeaturePlot()fromTRUEtoFALSE. - Added
min.cutoffandmax.cutoffparameters 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)
SCpubr::do_GeyserPlot()
- Added
flipparameter.
SCpubr::do_GroupwiseDEPlot()
- Fixed bug in
SCpubr::do_GroupwiseDEPlotin which the heatmap could not be computed. (#3) - Added extra checks to ensure proper input in
SCpubr::do_GroupwiseDEPlot. (#3)
SCpubr::do_LigandReceptorPlot() (development release)
- Changed parameter
x_labels_angletorotate_x_axis_labelsto keep a consistent terminology.
SCpubr::do_RidgePlot()
- Fixed a typo that made the lines in
panel.grid.minorto be displayed inSCpubr::do_Ridgeplot(). - Added
flipparameter.
SCpubr::do_ViolinPlot()
- Added
split.byfunctionality toSCpubr::do_ViolinPlot(). (#4, #5) - Added
flipparameter. - Now multiple features can be queried ad the same time. (#5)
- Changed
featureparameter tofeatures, to better reflect the multiple feature behavior. - Recreated
Seurat'sshare.y.limsbehavior and set it toshare.y.limsparameter. (#5)
- R
Published by enblacar over 3 years ago
scpubr - 1.0.1-dev-stable
Same as v1.0.1, but with all the functions that do not pass CRAN checks. These functions are: SCpubr::savePlot() SCpubr::doLigandReceptorPlot() and SCpubr::do_SankeyPlot().
r
devtools::install_github("enblacar/SCpubr", ref = "v1.0.1-dev-stable")
- R
Published by enblacar over 3 years ago
scpubr - 1.0.0
- Modified internal checks so that the functions that do not use
Seuratdo 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.subtitlesandindividual.captionsinSCpubr::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.utilswas removed from CRAN on 09-10-2022.
You can install it using:
r
devtools::install_github("enblacar/SCpubr", ref = "v1.0.0")
- R
Published by enblacar over 3 years ago
scpubr - 1.0.0-dev-stable
- 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().
Install using:
r
devtools::install_github("enblacar/SCpubr", ref = "v1.0.0-dev-stable")
- R
Published by enblacar over 3 years ago
scpubr - 0.0.0.9000
This is the state of SCpubr prior to submission to CRAN.
To install this release, please use:
r
devtools::install_github("enblacar/SCpubr", ref = "v0.0.0.9000")
- R
Published by enblacar over 3 years ago