- Bioconductor RELEASE_3_20 (2024-10-30, Wed)
- mv
td_filter()
,td_unnest()
andtd_mutate()
to 'ggfun' package (2024-10-24, Thu)
- layout argument can be a function to re-calculate the coord of nodes (2024-07-27, Sat, #622)
layout.params = list(as.graph=TRUE)
(by default) for converting the tree to a graph tree (igraph object), so that graph layout can be directly applied to visualize a tree- otherwise, the function can assume the input tree as a
phylo
ortreedata
object
- use
yulab.utils::yulab_msg()
for startup message (2024-07-26, Fri) - mv
%<+%
operator to 'ggfun' (2024-05-28, Tue)
- Bioconductor RELEASE_3_19 (2024-05-14, Tue)
- expose 'position' parameter for
geom_range()
(2024-04-07, Sun, #611)
- copy
rect_to_poly()
from ggplot2 to make it compatible with ggplot2 3.5.0 (2024-02-13, Tue)
- Bioconductor RELEASE_3_18 (2023-10-25, Wed)
- use
rlang::check_installed()
to check whether the suggested pkg is installed (2023-08-11, Fri, #580) - allows using
linewidth
parameter (synonyms forsize
) inggtree()
(2023-07-15, Sat, #574) - bug fixed in setting
branch.length = "none"
to plot 'hclust' object (2023-07-15, Sat, #574)
- Bioconductor RELEASE_3_17 (2023-05-03, Wed)
ggtree()
supports 'dendro' object (ggdendro::dendro_data()
output) (2023-03-02, Thu)- update
theme_dendrogram()
to useggfun::theme_noxaxis()
(2022-11-21, Mon) - using
cli::cli_alert_warning()
instead ofwarning_wrap
(2022-11-10, Thu)
- compatible with ggplot2 v=3.4.0 (2022-11-07, Mon)
- allows setting
options(clade_align = TRUE)
to aligngeom_hilight()
layer and allows settingoptions(clade_width_extend = 0.35)
to set the amount the width extension (in y-axis) ofgeom_hilight()
. These two features is designed forggtreeDendro::geom_rect_subtree()
layer (2022-11-06, Sun)
- Bioconductor RELEASE_3_16 (2022-11-02, Wed)
- add new citation (the iMeta 2022 paper) (2022-09-26, Mon)
- move
scale_color_subtree()
to the 'ggtreeDendro' package (2022-09-23, Fri) - update
fortify
method forpvclust
object (2022-08-15, Mon) - add citation of the tree data book (2022-08-13, Sat)
scale_color_subtree()
now supports passing a numeric value and internally it will callcutree(tree, k)
(2022-08-11, Thu)- support 'linkage' class defined in the 'mdendro' package (2022-08-11, Thu)
- clone the plot environment before assigning layout (2022-07-19, Tue, #516)
- bug fixed in 'equal_angle' layout (2022-07-08, Fri, #514)
- optimize
geom_tiplab
to better compatible with dendrogram layout (2022-06-23, Thu, #508)
as.phylo.hclust2
to correct edge length as displayed instats:::plot.hclust
(2022-06-21, Tue)- add outline to nodepies (2022-06-20, Mon, #506)
- new 'slanted' layout for
branch.length = 'none'
(2022-04-29, Fri, #497)- only works for Cartesian coordination, that means it will not work for
layout = 'radial'
- only works for Cartesian coordination, that means it will not work for
- Bioconductor 3.15 release (2022-04-28, Thu)
geom_striplab()
that supportsaes()
mapping (2022-04-22, Fri, #493)to.bottom
parameter introduced ingeom_hilight()
to allow the highlight layer was added into the lowest layer stack (2022-04-22, Fri, #492)
- mv
identify()
method to 'ggfun' (2022-04-01, Fri) - update
identify.gg()
to support 'ggplot' object and+xlim()
- update man files (2022-03-23, Wed, #489)
- use graph layouts to visualize tree (2021-12-10, Fri, #460, #461)
- igraph layout
- graphlayouts: https://cran.r-project.org/web/packages/graphlayouts/index.html
scale_color_subtree
andscale_colour_subtree
to color subtree via taxa group information (e.g., cutree, or kmeans) (2021-12-01, Wed)- set
na.value = 'white'
inmsaplot()
(2021-10-29, Fri)
- Bioconductor 3.14 release
geom_cladelab
now supports extend parameter as ingeom_cladelabel
(2021-10-14, Thu, @xiangpin, #446)geom_hilight
supports fill linear gradient colour and round rect background (2021-10-11, Mon; @xiangpin, #449, #444)- work with negative edge lengths (
hclust
may generate negative tree heights) (2021-09-29, Wed; @xiangpin, #441, #445)
ggdensitree
withalign.tips=TRUE
sets max x to 0 (2021-09-26, Sun; @brj1, #437, #439)- custom column headers for
gheatmap
(2021-09-15, Wed, @matt-sd-watson, #434) - bug fixed of
nudge_x
parameter ingeom_segment2
(2021-09-03, Fri; @xiangpin, #433)
- introduce
align
parameter ingeom_hilight
(2021-08-30, Mon; @xiangpin, #431) - the
data
parameter ingeom_facet
now accepts function as input (2021-08-22, Sun; @xiangpin, #430) - import
ggfun
andyulab.utils
(2021-08-20, Fri) - allow using
options(layout.radial.linetype)
to set linetype of radial layout (either 'strainght' or 'curved') (2021-08-13, Fri; @xiangpin, #427)
data
argument ingeom_tiplab
andposition
argument ingeom_tree
(2021-08-10, Tue; #426, @xiangpin)geom_hilight
andgeom_cladelab
supports function as input data (2021-07-28, Wed; #421, @xiangpin)td_mutate
for mutating tree datageom_tiplab
supports fontface aesthetic (2021-07-06, Tue; @xiangpin)
- calculate branch mid point for unrooted layout tree (2021-06-11, Fri)
branch.y
andbranch.x
geom_range
supports aes mapping (2021-06-04, Fri)
- bug fixed in
geom_range
(2021-06-01, Tue) - now
geom_nodelab
has anode="internal"
parameter. (2021-05-31, Mon)- if
node = "external"
, it equivalent to `geom_tiplab - if
node = "all"
, it equivalent tolist(geom_tiplab(), geom_nodelab())
- if
- Bioconductor 3.13 relese
- optimize text angle in
geom_cladelab
(2021-05-10, Mon)
- extend 'continuous' parameter to support 4 possible values, i.e., 'none' to disable continuous transition, 'color' (or 'colour') to enable continuous color transition, 'size' to enable continuous size (branch thickness) transition and 'all' to enable continuous color and size transition (2021-04-07, Wed)
extendto
argument forgeom_hilight
now compatible with 'inward_circular' and 'dendrogram' layouts (2021-02-25, Thu)
- update man file of
geom_rootpoint
(2021-01-08, Fri) label
andoffset.label
introduced ingeom_treescale
layer (2020-12-23, Wed)geom_rootedge
supports reversed x (2020-12-17, Thu)geom_nodelab()
now supports circular layout (2020-11-26, Thu)- branch size can be grandualy changed (2020-10-29, Thu)
- Bioconductor 3.12 release (2020-10-28, Wed)
- add
label_pad()
function to add padding characters to taxa labels (2020-10-09, Fri) - add
family
parameter togeom_tiplab()
- new layouts,
roundrect
andellipse
fortify()
method fortreedataList
object (2020-09-20, Sun)vexpand()
andggexpand()
to expand plot limit by ratio of plot range (2020-09-18, Fri)geom_cladelab()
, an updated version ofgeom_cladelabel
that supports aes mapping (2020-09-17, Thu)
td_unnest()
which return a function to flatten ggtree plot data (2020-09-14, Mon)- update
geom_hilight
to supportgeom_hilight(data = mydata, node = selected_node)
(2020-09-03, Thu) - Defunct
geom_nodelab2()
(2020-09-02, Wed) geom_tiplab()
andgeom_nodelab()
supportgeom = "shadowtext"
td_filter()
which return a function to subset ggtree plot data in geom layers (2020-08-29, Sat)- update man files of
geom_rootedge
andgeom_point2
- update
geom_hilight
to supportgeom_hilight(data = tbl_tree, node = selected_node)
. (2020-09-03, Thu)
zoomClade
andgeom_zoom_clade
to zoom in selected clade (2020-08-04, Tue)- these two functions are wrapper function of
ggforce::facet_zoom
- these two functions are wrapper function of
- update
facet_labeller
according to the change ofggplot2
(2020-07-28, Tue) - defunct
set_hilight_legend
as nowgeom_hilight
supports aesthetic mapping and can generate legend automotically - remove
annotation_image
,phylopic
andsubview
as they were defunct for quite a long time. Users should refer to theggimage
package if they want to annotate tree with image or subplots. as_ylab
parameter added ingeom_tiplab()
, which supports displaying tip labels as y-axis label and only works for rectangular and dendrogram layoutshexpand
to expand x limits by ratio of x range and supports both direction (1 for rhs and -1 for lhs) (2020-07-27, Mon)
- add
type
parameter ingeom_hilight
, default isauto
, optionalrect
torectangular
layer,encircle
toencircle
layer and comment originalgeom_hilight
, and supportsubset
in aesthetic. (2020-07-23, Thu) - update
geom_hilight
to support aesthetic mapping (2020-07-22, Wed) - update
geom_taxalink
to support aesthetic mapping (2020-07-20, Mon) layout_inward_circular
forlayout_circular() + scale_x_reverse()
(2020-07-16, Thu)
- update
geom_taxalink
to support circular layout tree (2020-07-13, Mon).
fortify
method forpvclust
object (2020-06-21, Mon)- add dot parameters for color or size of
geom_hilight
and more detail messages of warnings forextendto
. (2020-06-16, Tue) - modified the angle of clade labels. Added horizontal parameter to control
whether set clade labels to horizontal. When the parameter was set to
FALSE
, it will be useful for the layouts incoord_polar
, such ascircular
,fan
,radial
. To better view the clade labels, their angles has been adjusted. (2020-06-15, Mon) - bug fixed in
getYcoord_scale_category
(2020-05-13, Wed)
- Bioconductor 3.11 release
- Now
geom_tiplab()
works with unrooted layouts (ape
,equal_angle
anddaylight
) (2020-04-23, Thu) - bug fixed of
layoutEqualAngle
(2020-04-09, Thu)- in tibble v=3.0.0, df$x = NA will store df$x as lgl variable and assign numeric value to df$x will throw error. Now change to df$x = 0 in
layoutEqualAngle
.
- in tibble v=3.0.0, df$x = NA will store df$x as lgl variable and assign numeric value to df$x will throw error. Now change to df$x = 0 in
- bug fixed of calculating inset width and height
- import
aplot::xrange
- move
xlim2
andylim2
to aplot package (2020-03-30, Mon) - remove
mutate_
as it was deprecated in dplyr (2020-03-25, Wed) - fixed mutate bug caused by new version of dplyr and tidytree in daylight layout (2020-03-16, Mon)
expand_scale
was deprecated in ggplot2 v=3.3.0, importexpansion
instead (2020-03-12, Thu)- bug fixed of determined layout for
ggplot(tree) + geom_tiplab()
(2020-01-26, Sun) - set unrooted layout to use
coord_fixed
by default (2020-01-25, Sat) - if
layout = "ape"
, use ape unrooted layout
- export
geom_highlight
as an alias ofgeom_hilight
(2020-01-08, Wed) - set
clip="off"
for all layouts (2019-12-06, Fri) - not passing
fontface
ifgeom
isimage
orphylopic
ingeom_tiplab
andgeom_nodelab
(2019-11-29, Fri) - import and re-export
guide_legend
,scale_colour_manual
,scale_color_manual
,scale_fill_manual
andmargin
fromggplot2
offspring
method forggtree
object (2019-11-21, Thu)- fixed
revts
to work withcollapse
(2019-11-18, Mon) - convert roxygen documents using markdown (2019-11-01, Fri)
- extend
xlim2
andylim2
to support discrete scale. xlim2
andylim2
to uniformize axis limits of ggplot objects (2019-10-31, Thu)- fixed
fontface
warning message whenalign=TRUE
ingeom_tiplab
(2019-10-30, Wed)
- Bioconductor 3.10 release (2019-10-30, Wed)
- bug fixed of
geom_hilight
fortree$edge.length = NULL
(2019-10-16, Wed) fortify
method for igraph (only work with tree graph) (2019-09-28, Sat)ggdensitree
(2019-09-11, Wed)
- prepare for ggtree v=2.0.0
fortify
methods for hierarchical clustering objects, includingagnes
,diana
andtwins
(2019-08-30, Fri)- now
geom_hilight
supportsunrooted
anddaylight
layouts (2019-08-28, Wed)- by calling
geom_hilight_encircle
- by calling
- update
geom_motif
according to the change ofgggenes
and allow labeling genes (2019-08-27, Tue) - re-implement
geom_strip
with more robust support of labelling strip, either input taxa using name or id. - support
phylog
defined in ade4 package (2019-08-14, Wed)
- now
geom_cladelabel
supportsunrooted
anddaylight
layouts (2019-08-14, Wed)- by integrating
geom_cladelabel2
- by integrating
- defined
nodelab
method for ggtree to convert node number to label (2019-08-09, Fir) - redefined
nodeid
as S3 generic intidytree
v=0.2.6- change the original function as a method for ggtree
- move the
nodeid
function for tree object to treeio
- defunct
gzoom
function - introduce
rootnode
parameter ingeom_tree
with default = TRUE and behave as previous version (2019-08-08, Thu)- the invisible root to itself line segment have advantage for the number of line segments is consistent with the number of nodes.
- if
rootnode = FALSE
, there will be no line segment of root to itself.
- extend
gheatmap
to support collapsed node (2019-08-06, Tue) - support
hclust
anddendrogram
(2019-07-31, Wed)
- remove re-export treeio parser function, user now need to load treeio explictly (2019-07-24, Wed)
- export
layout_circular
,layout_fan
andlayout_rectangular
layout_dendrogram
andtheme_dendrogram
scale_x_range
for adding second x-axis forgeom_range
(2019-07-23, Tue)- change
branch.length
parameter tocenter
forgeom_range
- extend
expand
according to the change ofcollapse
(2019-07-11, Thu) mode
parameter incollapse
geom_tiplab
now works with 'circular' and 'fan' layouts (2019-07-05, Fri)geom_inset
for adding subplots to specific nodes (see also theinset
function introduced in v=1.3.8)
facet_data
to extract data used infacet_plot
orgeom_facet
(2019-07-02, Tue)continuous
parameter ingeom_tree
to to continuous color edge from parent to child (2019-09-25, Tue)root.position
parameter forfortify
andggtree
(2019-05-27, Mon)geom_facet
, a geom layer version offacet_plot
(2019-05-23, Thu)- update
scale_x_ggtree
, now we can usegheatmap() + scale_x_ggtree()
(2019-05-22, Wed) - extend
xlim_expand
to work withggplot2
(2019-05-20, Tue) - add
legend_title
variable ingheatmap
(2019-05-16, Thu)
- Bioconductor 3.9 release
- compatible with range is NULL in
geom_range
(2019-04-27, Sat) - remove
getChild
,getChild.df
,getParent
,getParent.df
,getSibling
,getAncestor
andgetAncestor.df
, instead usechild
,parent
,sibling
andancestor
methods implemented intidytree
andtreeio
(2019-01-30, Wed) - remove
get.offspring.df
andget.offspring.tip
and instead usetidytree::offspring
(2019-01-28, Mon) facet_widths
function to set relative widths of facet panels (2019-01-28, Mon)- the output is
ggplotify::as.ggplot(grid_object)
, so it is not the originalggtree
object.
- the output is
- bug fixed of
theme_tree2
(2019-01-14, Mon) - mv
rescale_tree
totreeio
(2019-01-11, Fri)
- reimplement
MRCA
as a method inherited fromtidytree
(2019-01-10, Thu) - mv vignettes to treedata-book
- move
reroot
method totreeio
package and rename toroot
(2018-12-28, Fri) - bug fixed for setting
branch.length="none"
in unrooted layouts (2018-12-26, Wed)- bug introduced in #201
- compatible with
tibble
v=2.0.0 (2018-11-29, Thu)
- now
revts
also reverse thebranch
column (2018-11-11, Sun) - better msg when taxa name not consistent in sequence and tree files with
msaplot
. (2018-11-07, Wed)
- Bioconductor 3.8 release
- set
scale_y_continuous(expand = c(0, 0))
forgheatmap
whencolnames = FALSE
(2018-10-17, Wed) - made data usable with treedata in 'equal_angle' and 'daylight' layouts (2018-10-11, Thu)
- enable additional parameters passed to
geom_rootedge
(2018-09-13, Thu) facet_labeller
to label panels offacet_plot
output (2018-09-10, Mon)
- update
viewClade
according to the change ofggplot2
(2018-08-07, Tue)
- xmax_adjust in
viewClade
(2018-07-21, Sat) - update rd of
facet_plot
by adding description and example (2018-07-19, Thu) - order by y in
facet_plot
(2018-07-09, Mon) extend
parameter ingeom_cladelabel
andgeom_strip
supports specifying extension of both sides (2018-07-06, Fri)geom_nodelab2
for circular layout (2018-07-03, Tue)- re-export
ggplot2::fortify
geom_nodepoint
&geom_tippoint
now compatible withggplot2
v 2.2.1 & 3.0.0 (2018-06-26, Tue)geom_rootedge
(2018-06-13, Wed)clade_name
parameter added incollapse
(2018-05-28, Mon)- bug fixed of
gheatmap
for rowname subsetting is partial match in R (2018-05-23, Wed) - compatible with ggplot2 2.2.1.9000 for
geom_text2(parse="emoji")
- typo on vignettes (2018-05-08, Tue)
- compatible with ggplot2 2.2.1.9000 (2018-05-02, Wed)
- incorporate newly introduce parameter
linejoin
andarrow.fill
ingeom_segment
- incorporate newly introduce parameter
- Bioconductor 3.7 release (2018-05-01, Tue)
- reexport
treeio::read.iqtree
&treeio::read.astral
(2018-04-17, Tue) - now geom_treescale will plot the text that can always be separated from the bar (2018-03-07, Wed)
- optimize daylight layout
- geom_tiplab2 works with mapping = aes(subset) defined by users (2018-02-24, Sta)
- fixed overlapping branch after
flip
- support passing
aes(subset)
in geom_tippoint (2018-01-30, Tue) - support passing
aes(subset)
in geom_nodepoint (2018-01-26, Fri) - fine tune y position after flip; flip compatible with collapse
- re-implement collapse as collapse.ggtree method by importing dplyr::collapse generic to prevent function name collision (2018-01-03, Wed)
- update treeVisualization vignette, with more layout examples added (2017-12-22, Fri)
- update vignette (2017-12-21, Thu)
- remove ggtreeUtilities.Rmd
- merge treeAnnotation and advanceTreeAnnotation