Minor changes:
- Reworked
plotCorrelation
function.
Minor changes:
plotCounts
,plotCountsPerBiotype
: Fixed unwanted type mismatch during internalleftJoin
operations forSingleCellExperiment
method.
Minor changes:
plotCountsCorrelation
: Add backxName
andyName
arguments, which are useful for customizing the plot labels.
Major changes:
- Now enforcing strict camel case for all function names.
- Renamed
plotPCA
toplotPca
. Now using AcidGenerics variant instead of BiocGenerics here. - Renamed
plotQC
toplotQc
. - Renamed
plotTSNE
toplotTsne
. - Renamed
plotUMAP
toplotUmap
. - Removed stringr dependency.
Major changes:
- All custom ggplot2 functions are now prefixed with
acid_
, for consistency. - Simplified
acid_coord_flip
asacid_discrete_coord_flip
. This no longer attempts to parse thegg
object, and returnsggproto
, so it can be chained in+
operations. - Renamed scale functions to fit ggplot2
snake_case
conventions:autoContinuousColorScale
toacid_scale_color_continuous
;autoContinuousFillScale
toacid_scale_fill_continuous
;autoDiscreteColorScale
toacid_scale_color_discrete
;autoDiscreteFillScale
toacid_scale_fill_discrete
.
Minor changes:
- Removed usage of BiocParallel.
Major changes:
- Now requiring R 4.3 / Bioconductor 3.17.
- Reworked internal code to use rlang pronouns (
.data
) instead of legacy syntactic sugar approach with!!
andsym
. Refer to rlang documentation for details on non-standard evaluation and tidy evaluation.
Minor changes:
- Updated ggplot2 deprecations related to recommendation of
linewidth
instead ofsize
for line geoms. plotCountsPerCell
: Hardenedpoint
mode for SCE objects that don't contain precalculatednCount
metadata incolData
. Also improved error message when user attempts to plotpoint
with a geom other thanecdf
.plotCorrelation
: Now using recommendedafter_stat
instead of deprecatedstat
function for correlation calculations.
- NAMESPACE fixes for Bioconductor 3.17 compatibility.
- Now classing on
DFrame
instead ofDataFrame
virtual class.
- Updated dependencies to Bioconductor 3.16.
- Migrated
requireNamespaces
import from AcidBase to goalie.
Minor changes:
- Updated R dependency versions.
- Hardened internal calls to
facet_wrap
by usingvars
consistently. This requires callingsym
with!!
orsyms
with!!!
(from rlang).
Minor changes:
- Improved dependency pinning, in anticipation of breaking changes introduced in basejump package updates, notably pipette and AcidExperiment.
Minor changes:
- Updated lintr checks and testthat unit tests.
Major changes:
- Starting a new release series that provides compatibility with R 4.2 and Bioconductor 3.15.
Minor changes:
- Removed internal dependencies on tibble (e.g.
as_tibble
coercion).
Major changes:
- Now using patchwork package internally for grid layout instead of cowplot.
plotUpset
: Now using ComplexUpset engine interanlly.
Minor changes:
matchLabels
: Simplified argument matching using newargName
approach instead of legacychoices
approach. Also improved hardening against mismatched user input, when attempting to specify elements inlabels
list that are not allowed/supported internally in the function.
Minor changes:
matchLabels
: Now allowing input oflogical(1)
, so we can better support dynamic automatic plot labels.
Minor changes:
acid_geom_label_repel
: Now settingmax.overlaps = Inf
internally, to ensure that all points are always labeled. Refer to ggrepel examples documentation for details onmax.overlaps
argument, and the override optionggrepel.max.overlaps
, which works globally in an R session.
Minor changes:
- Documentation improvements. In particular, split out documentation for our
customized ggplot2 layer functions, which were previously documented
(albeit in a somewhat confusing manner) in
geoms.Rd
file. - Updated basejump and plotting dependency packages.
- Updated internal
guides()
handling to use character string instead of logical (e.g.FALSE
), which was changed in ggplot 3.3.5+.
Major changes:
plotCorrelation
: Updateddata.frame
method to supportlabelCol
, which is useful for defining the column to use for plot labels.plotCorrelation
: Thetrans
now defaults to "log10", instead of "identity". This is recommended for IC50 plots, which are the intended use of this function the majority of the time.
Minor changes:
- Updated dependencies to latest versions available on conda.
- Removed RColorBrewer and matrixStats as dependencies.
Minor changes:
- Removed unnecessary stringr dependency, since these functions are now reexported inside basejump.
Minor changes:
- Ensure we reexport
percent
from scales, which is used in pointillism.
Minor changes:
- Reexporting rlang functions that allow for standard evaluation within
ggplot object creation:
!!
,!!!
,sym
, andsyms
. - Removed need to use
Matrix::colSums
internally. Just inherit from the regular S4 generic.
Minor changes:
- Including some reexports that are used in DESeqAnalysis:
draw_plot
,ggdraw
,log_breaks
,plot_grid
, andpretty_breaks
.
New functions:
plotCorrelation
: Quick X-Y correlation scatterplot that calculates the R2 value, similar to plots in GraphPad Prism.
Minor changes:
plotWaterfall
: Reworked internal code to better handle splitting out of interesting groups into separate plots.- Added initial
SummarizedExperiment
method support toplotWaterfall
. - Bug fixes to avoid issues with hard-coding
sampleID
internally as sample identifier column, helping improve migrate tosampleId
as preferred method. - Package no longer attaches basejump.
- Renamed package from acidplots to AcidPlots.
Minor changes:
plotCounts
: Added an assert to check for user attempting to use bar geom withstyle = "wide"
. Also addedsort
argument, which allows the user to easily plot the genes alphabetically instead of by vector order.
Minor changes:
plotCounts
: Addedgeom
argument to support additional visualization types other than dots. Can now plot boxplot, violin, or bar plot.
Minor changes:
plotHeatmap
: Improved internal factor and NA handling of pheatmap annotation metadata, which can otherwise cause some legends to not render correctly. Note that we're ensuring factors get releveled correctly here.
Major changes:
plotUpset
: reworked default formals to now includenIntersects
andorderBySize
arguments. Improved internal argument handling and assert checks, ensuring user is passing in an integer matrix containing only 0,1 values. Improved the data.frame method to drop non-0,1 columns automatically, which supports the UpSetR movies working example.plotPCA
: Reworkedsubtitle
andtitle
formals to instead use the standardizedlabels
approach instead. Now automatically plots the number of genes used, which defaults to the top 500 most variable.
Minor changes:
- Updated default
color
andfill
arguments to inherit better from ggplot2 defaults:scale_colour_continuous
andscale_colour_discrete
. The defaults still inherit fromacid.color.continuous
andacid.color.discrete
first but then fall back to the ggplot2 default global optionsggplot2.continuous.colour
andggplot2.discrete.colour
.
Minor changes:
- Now using cli package for improved message appearance.
Minor changes:
plotUpset
: Adjusted ratio of dot matrix to main barplot, to handle complex multiple comparisons better.
Minor changes:
- Updated minimum R dependency to 4.0.
plotUpset
: Added matrix and list method support. Simplified internal code, reducing dependencies from UpSetR. Maybe consider switching to ggupset in a future update.
Minor changes:
plotWaterfall
: Now supports log transformations, defaulting to log10. Labels are disabled by default, and now only supported for non-log plots. For log transformed data, a line is now shown at the y intercept.
New functions:
plotWaterfall
: Easily plot concentration curve (e.g. IC50) waterfall plots.
Minor changes:
matchLabels
now returns an empty list for aNULL
argument. This approach is used in the upcoming pointillism update, in theplotStackedBarPlot
function.
Minor changes:
plotCounts
,plotHeatmap
,plotQuantileHeatmap
: AddedconvertGenesToSymbols
support to override automatic mapping of genes to symbols, which is enabled by default.plotHeatmap
,plotQuantileHeatmap
: ImprovedshowRownames
handling for automatic visualization of rows, which are now enabled by default for heatmaps with <= 50 features.
Minor changes:
- Updated documentation and roxygen dependency to v7.1.0.
- Updated ggplot2 and other graphical R package dependencies.
- Fixed
plotHeatmap
unit tests to harden againstSummarizedExperiment
andSingleCellExperiment
objects defined in AcidTest package that contain rows and/or columns with all zeros. Refer tononzeroRowsAndCols
function in basejump for details. - Rebuilt pkgdown website using v1.5 update.
Minor changes:
acid_coord_flip
: Fix for breaking change introduced by ggplot2 v3.3.0, which renamedobject[["layers"]][[1L]][["geom"]][["required_aes"]]
from"x"
to"x|y"
. The package now requires this new version of ggplot2.
Minor changes:
- Changed license from MIT to GPL-3.
- Updated internal code to use
aggregateCellsToSamples
instead ofpseudobulk
, which has migrated to pointillism and will be reworked in an upcoming release. - Updated documentation for
SingleCellExperiment
methods, whereaggregateCellsToSamples
is called internally. This was propagating to other packages whereSingleCellExperiment
methods are not defined, making the documentation confusing.
Minor changes:
- Updated bioverbs dependency to renamed AcidGenerics package.
Minor changes:
plotHeatmap
: Increased the default break range from-2:2
up to-3:3
. This helps improve the dynamic range a bit for some RNA-seq plots.
Minor changes:
- Hardened user-defined
interestingGroups
input againstNA
values causing values to drop in plots. This was discovered withplotPCA
callinggeom_point
internally, which caused removal of rows. If we coerceNA
value to"NA"
first, then removal no longer occurs. This is accomplished internally usingstr_remove_na
(see alsostringi_remove_na
). The change applies to these functions:plotCellCounts
,plotCounts
,plotCountsPerBiotype
,plotCountsPerBroadClass
,plotCountsPerFeature
,plotFeaturesDetected
,plotPCA
,plotTotalCounts
,plotZerosVsDepth
.
Minor changes:
plotCounts
: Thegene
argument is now optional, supporting subsetSummarizedExperiment
objects. Currently a maximum of 20 genes (rows) are allowed to pass through in the method.- Updated documentation to support roxygen2 7.0 release.
- Improved default color palettes for
plotHeatmap
,plotCorrelationHeatmap
, andplotQuantileHeatmap
.
Minor changes:
plotCounts
: ReworkedmedianLine
argument and renamed to simplyline
. Now supports mean and geometric mean in addition to median now. Line is now disabled by default.
Minor changes:
- Updated dependencies to require Bioconductor 3.10 release.
- Added return value for
matchLabels
in documentation.
Major changes:
- Replaced
title
argument withlabels
argument for functions that render plots using ggplot2. - Now exporting
matchLabels
function, that handles internal ggplot2 label matching, and auto-populates with defaults in formal argument. - Using "samplesAxis" and "countsAxis" labels for ggplot2 return that support multiple geoms. Consider a similar approach for QC metric plots.
Minor changes:
- Simplified internal handoff from
SingleCellExperiment
S4 methods toSummarizedExperiment
, using standard...
passthrough instead of relying uponmatchArgsToDoCall
. - Improved color palette consistency in plotting functions.
plotCounts
: MovedDESeqDataSet
method to DESeqAnalysis package.
Major changes:
acid_theme_dracula
: New dark mode theme supporting Dracula color palette.- Exporting color palette vectors:
lightPalette
,darkPalette
,draculaPalette
,iOSLightPalette
,iOSDarkPalette
,macOSLightPalette
,macOSDarkPalette
. synesthesia
: Simplified color palette to use purple, blue, green, orange. User can tweak the palette using a newpalette
argument.
Minor changes:
plotCountsPerFeature
: Renamed formals to match conventions in new basejumpmelt
methods.- Updated basejump dependencies and NAMESPACE.
- Tightened up if/then checks, ensuring boolean flag return.
- Improved some working examples and unit tests.
Minor changes:
plotPCA
: Improved automaticntop
argument handling when passing in a value greater than the number or features (rows) defined in the object.- Improved documentation for
SingleCellExperiment
methods that need to average or aggregate expression at sample level. - Removed dplyr and magrittr dependencies.
Minor changes:
- Improved consistency of internal tibble handling inside plot functions.
- Updated basejump dependency versions.
Major changes:
- Migrated some QC plotting functions previously defined in bcbioSingleCell package. This makes it possible to share the code for new Chromium package, designed for importing single cell RNA-seq data from 10X Genomics.
Minor changes:
- Improved documentation consistency by importing shared parameter roxygen from the new AcidRoxygen package.
- Updated basejump dependency versions.
Minor changes:
- Updated basejump dependency versions.
- Updated some unit tests to reflect RangedSummarizedExperiment example update in AcidTest package.
Minor changes:
- Improved warning suppression for partial match in
pheatmap
calls. - Improved documentation.
- Improving automatic plot title and label handling with new
makeLabel
andmakeTitle
functions from syntactic update.
New functions:
plotCountsCorrelation
andplotCountsCorrelationHeatmap
: New functions optimized for plotting correlation between gene expression matrices. Particularly useful for comparing pseudoaligned vs. aligned counts, which is implemented in the new bcbioRNASeq package update.
Minor changes:
- Improved naming consistency of internal S4 functions.
- Updated basejump dependencies.
Minor changes:
plotCountsPerBiotype
: Internal tidyeval bug fix for call todplyr::top_n
. Previously, then
argument supported direct variable input, but now it must be unquoted, due to change in underlying rlang engine following the 0.4 update.
Minor changes:
upset
: Compatibility update for UpSetR v1.4 release.- Compatibility fixes for basejump v0.10.11 release.
Minor changes:
- Improved log2 and log10 axis scale handling for
plotCountsPerBiotype
andplotCountsPerBroadClass
. Previously, thebreaks
argument was defined in internalscale_y_continuous
ggplot2 call, but this doesn't perform well for many RNA-seq datasets at log2 scale. Instead, it's better to log2 scale the data first and then simplify indicate log2 on the y axis title. plotCountsPerFeature
: Improved custom color handling for density geom. Removed violin geom support but added jitter geom support. The violin plot method doesn't scale well for multiple samples, and the boxplot is visually easier to interpret for this metric, in general.
Major changes:
- Now pinned against R >= 3.5.
Major changes:
- Now importing
upset
function from UpSetR, with modified formals, so we can easily call this from other packages, including DESeqAnalysis.
New functions:
- New
gradient
palette functions:purpleOrange
,blueYellow
. - Remove gplots package from imports.
Major changes:
plotHeatmap
now supports automatic color calculation whenbreaks
argument is defined. Also improved support forlegendBreaks
.
Minor changes:
- Fix
.pheatmapColorPalette
internal check forcolor
, which requiresn
argument, rather than assuming positional variable. plotCountsPerFeature
: Improve the count subtitle.- S4 generic reexport documentation fixes.
- Miscellaneous documentation fixes.
Reworked package, consolidating previous minimalism and firestarter packages.
New functions:
synesthesia
color palette functions.acid_coord_flip
: Intelligently puts samples at the top of the Y axis when flipped. Particularly useful for barplots.acid_pretty_breaks
: Attempt to improvescales::pretty_breaks
, using an approach more similar to the base plot engine.- Renamed ggplot2 themes:
acid_theme_light
,acid_theme_dark
.
Major changes:
- All ggplot2 geoms and transformations (
ggproto
functions) now consistently useacid_
as a prefix.
Minor changes:
plotCountsPerBiotype
andplotCountsPerBroadClass
now supporttitle
.
Deprecations:
plotCountsPerGene
has been renamed toplotCountsPerFeature
.plotGenesDetected
has been renamed toplotFeaturesDetected
.- Deprecated
theme_paperwhite
andtheme_midnight
in favor ofacid_theme_light
andacid_theme_dark
.
New functions:
base_breaks
: An attempt as automatic pretty breaks based on the default R plotting engine. Derived from a Stack Overflow post (see documentation).
Minor changes:
plotCountsPerBiotype
,plotCountsPerBroadClass
switched to recommending log10 counts by default.
Updated packages depencies and switched to Docker for Travis CI.
Initial release, migrating ggplot2 functions from basejump package.