Skip to content

Releases: pwwang/plotthis

0.12.1

10 Jun 05:16

Choose a tag to compare

  • feat: enhance check_palcolor function to handle character palcolor input more robustly
  • feat: add position_dodge_preserve parameter to BoxViolinPlot and BoxViolinPlotAtomic for enhanced dodging control
  • feat: add CLAUDE.md for project guidance and development workflow documentation
  • feat(Heatmap): add block and label annotation types with unified building, per-annotation side control, reordering, validation, and split_by support
  • feat(dotplot): add size_min and size_max parameters for dot size control (#29)
  • fix(.Rbuildignore): add CLAUDE.md and PDF files to ignore list
  • refactor(Heatmap): move utils to a separate file
  • refactor: update dplyr and tidyr functions to use all_of for column selection
  • docs: add \donttest examples for CorPlot and DensityPlot functions
  • test(DotPlot): suppress warnings when using fill_by for size calculation
  • test(ManhattanPlot): update highlight threshold from 1e-5 to 1e-3

Full Changelog: 0.12.0...0.12.1

0.12.0

28 Apr 22:49

Choose a tag to compare

  • chore: update .Rbuildignore and .gitignore to exclude .vscode directory
  • refactor(Heatmap): remove deprecated annotation parameters and introduce alias support
  • feat(Heatmap): add default dimensions for simple annotations in Heatmap function
  • fix(Heatmap): resolve annotation name and legend overlap issue in ComplexHeatmap
  • feat: set default figure dimensions in pkgdown and basic design vignette
  • test: add unit tests for plot functions
  • ci: add missing 'remotes' package to workflow dependencies
  • fix(Heatmap): add validation to ensure data is not empty in process_heatmap_data function
  • feat(Heatmap): add draw_opts parameter for additional drawing options
  • feat(Heatmap): add aspect.ratio parameter for cell dimension control
  • fix(Heatmap): update cell dimension calculations to use actual matrix dimensions
  • fix(Heatmap): improve handling of annotation names to prevent overlap with legends
  • feat(Heatmap): add alignment options for heatmap and annotation legends
  • feat(Heatmap): add label customization options including color, size, and legend title
  • feat(Heatmap): add support for marks on heatmap cells with customization options
  • feat(Heatmap): add base_size parameter for scaling heatmap size
  • feat(Heatmap): enhance more aliases support for row and column annotations
  • feat(Heatmap): improve aspect ratio handling and dimension constraints for heatmap plots
  • feat(Heatmap): add support for combined label and mark cell type
  • feat(Heatmap): add octagon mark type support for heatmap cells

Full Changelog: 0.11.1...0.12.0

0.11.1

16 Mar 03:52

Choose a tag to compare

  • feat(BoxPlot): add support for bar plots with error bars
  • chore: add additional repositories link to DESCRIPTION file for ggmanh

Full Changelog: 0.11.0...0.11.1

0.11.0

10 Mar 19:04

Choose a tag to compare

  • feat(palette): add tableau color palettes to palette list
  • feat(dimplot): add support for 3D plots using plotly for 3-component dimplots
  • feat(UpsetPlot): preserve group order in compmatrix (lower table)
  • feat(UpsetPlot): add combmatrix_gap parameter for row spacing in combination matrix
  • feat: implement calculate_plot_dimensions() across all plot functions
  • feat: enhance heatmap dimension calculations for row and column labels based on visibility settings
  • feat: add padding parameter to Heatmap for customizable heatmap spacing
  • fix(UpsetPlot): nudge label position in geom_text_repel for better visibility
  • fix(UpsetPlot): fix ytrans not working
  • fix(Heatmap): handle empty string cases for row and column name parameters in process_heatmap_data
  • fix(DimPlot): hide legend for fill and color scales for marks in dimension plot
  • fix(DimPlot): ensure all levels are included in the legend by keeping empty levels for stat plots
  • fix(DimPlot): disable legend for line width scale in dimension plot when graph is given
  • fix(Box/Violin/BeeswarmPlot): update variance check to allow more unique values for comparison
  • chore(VennDiagram): change default palette to 'Blues'
  • chore(UpsetPlot): change default palette to 'Blues'
  • chore(UpsetPlot): change segment colour of labels to NA (hiding segment lines)
  • ci: update ggrepel package version to 0.9.5 in dependencies (0.9.6 requires R 4.5)

Full Changelog: 0.10.1...0.11.0

0.10.1

15 Feb 06:14

Choose a tag to compare

  • BREAKING(Box/ViolinPlot): update sort_x parameter to accept expressions for x-axis ordering
  • feat(RadarPlot): add groups parameter to filter and order groups in the plot
  • feat(Heatmap): add rows_orderby and columns_orderby to order rows and columns (if set, cluster_rows and cluster_columns will default to FALSE)
  • fix: update BarPlotSingle to conditionally use geom_text for flipped plots and adjust height/width calculations
  • fix(Box/ViolinPlo): hide legends for color, size, and alpha scales for highlighted points
  • fix(BeeswarmPlot):fix highlight not working
  • fix(JitterPlot): fix position_jitterdodge() requires at least one aesthetic to dodge by for ggplot2 v3
  • fix(BarPlot): correct conditional assignment for fill_by parameter
  • fix(BarPlot): fix when x has multiple columns
  • fix(Heatmap): ensure ordered factors are converted to character for proper processing
  • fix(TrendPlot): complete missing combinations for area layer to prevent interpolation issues
  • fix(AreaPlot): complete missing combinations for x, group_by, and facet_by to prevent interpolation issues
  • fix(RadarPlot): clarify groups parameter documentation and its implications on keep_empty
  • fix: ensure unique values in for loops for grouping in bar, pie, ring, and trend plots
  • fix(heatmap): ensure unique values in processed data for heatmap

Full Changelog: 0.10.0...0.10.1

0.10.0 - The "missing" release

06 Feb 21:45

Choose a tag to compare

New Features

  • Add keep_na and keep_empty parameters to control handling of NA and empty values across multiple plot functions: AreaPlot, BarPlot, BoxPlot, ChordPlot, DensityHistoPlot, DimPlot, DotPlot, Heatmap, JitterPlot, LinePlot, PieChart, RadarPlot, SpiderPlot, RingPlot, SankeyPlot, TrendPlot, and VelocityPlot
  • Add continuous color mapping support for BarPlot and SplitBarPlot (#28)
  • Allow palcolor parameter to allow replacing colors by palette

Bug Fixes

  • fix: update color handling in various plot functions to ensure consistent NA value representation
  • fix: enhance palette_this function to support custom colors and NA handling
  • fix: add na.value parameter to scale functions for consistent NA color handling across LinePlot and BarPlotSingle
  • fix: update check_keep_na and check_keep_empty functions to return named lists
  • fix: update fill_by condition in BarPlotAtomic to handle missing values correctly
  • fix: update breaks and limits parameters in scale_fill_manual for BarPlotSingle

Documentation

  • docs: enhance documentation for keep_na and keep_empty parameters across all affected functions
  • docs: enhance documentation for color palette customization and NA handling in plots

Full Changelog: 0.9.3...0.10.0

0.9.3

09 Jan 16:22

Choose a tag to compare

  • Add beeswarm plot support to BoxPlot and ViolinPlot (#26)
  • fix(RidgePlot): drop unused levels from split_by variable
  • fix(DimPlot): handle NA values in ordering for high-top and low-top options
  • fix(docs): update link to all available color palettes in basic design vignette
  • docs: add BeeswarmPlot to the list of available plots in README
  • fix(docs): update link format for all available palettes in palette_this documentation
  • fix(docs): remove outdated link to all available palettes in documentation

Full Changelog: 0.9.1...0.9.3

PS: Version 0.9.2 was skipped due to CRAN submission failure.

0.9.1

08 Jan 20:19

Choose a tag to compare

  • feat: add beeswarm plot support to BoxPlot and ViolinPlot (#26)
  • fix(RidgePlot): drop unused levels from split_by variable
  • fix(DimPlot): handle NA values in ordering for high-top and low-top options (pwwang/scplotter#29)
  • fix(docs): update link to all available color palettes in basic design vignette
  • docs: add BeeswarmPlot to the list of available plots in README

What's Changed

  • Add beeswarm plot support to BoxPlot and ViolinPlot by @Copilot in #26

New Contributors

  • @Copilot made their first contribution in #26

Full Changelog: 0.9.0...0.9.1

0.9.0

12 Dec 22:42

Choose a tag to compare

  • fix(box/violinplot): comment out error message for group_by comparisons
  • fix(boxviolinplot): skip processing for data frames with less than 2 rows
  • fix(network): update ggplot2 version check for link_type_by support (#21)
  • fix(velocityplot): update ggplot2 version check for arrow length handling (#19, #22)
  • chore(heatmap): add warning for unknown arguments in HeatmapAtomic function
  • docs(ROCCurve): update example to include cutoffs_at parameter for clarity
  • fix(boxviolinplot): make sig_labelsize relative to theme base_size

Full Changelog: 0.8.2...0.9.0

0.8.2

10 Nov 03:40

Choose a tag to compare

  • fix(prepare_fgsea_result): correct NES NA handling and add print statement
  • fix(GSEASummaryPlot): remove debug print statement

Full Changelog: 0.8.1...0.8.2