@@ -44,7 +44,7 @@ heat_tree.taxmap <- function(.input, ...) {
4444# ' Taxonomic classifications can have multiple roots, resulting in multiple trees on the same plot.
4545# ' Sizes and colors of nodes, edges, labels, and individual trees can be displayed relative to
4646# ' numbers (e.g. taxon statistics, such as abundance).
47- # ' The displayed range of colors and sizes can be explicitly defined or automatically genereated .
47+ # ' The displayed range of colors and sizes can be explicitly defined or automatically generated .
4848# ' Various transforamtions can be applied to numbers sizes/colors are mapped to.
4949# ' Several types of tree layout algorithms from \code{\link{igraph}} can be used.
5050# '
@@ -70,7 +70,7 @@ heat_tree.taxmap <- function(.input, ...) {
7070# #' Default: Not used.
7171# '
7272# ' @param node_label_size See details on size.
73- # ' Default: relative to veterx size.
73+ # ' Default: relative to vertex size.
7474# ' @param edge_label_size See details on size.
7575# ' Default: relative to edge size.
7676# ' @param tree_label_size See details on size.
@@ -167,7 +167,7 @@ heat_tree.taxmap <- function(.input, ...) {
167167# '
168168# ' @param overlap_avoidance (\code{numeric})
169169# ' The relative importance of avoiding overlaps vs maximizing size range.
170- # ' Higher numbers will cause node size optimazation to avoid overlaps more.
170+ # ' Higher numbers will cause node size optimization to avoid overlaps more.
171171# ' Default: \code{1}.
172172# '
173173# ' @param margin_size (\code{numeric} of length 2)
@@ -183,7 +183,7 @@ heat_tree.taxmap <- function(.input, ...) {
183183# ' Default: Not used.
184184# ' @param make_legend if TRUE...
185185# ' @param title Name to print above the graph.
186- # ' @param title_size The size of the title realtive to the rest of the graph.
186+ # ' @param title_size The size of the title relative to the rest of the graph.
187187# '
188188# ' @param node_color_axis_label The label on the scale axis corresponding to \code{node_color}.
189189# ' Default: The expression given to \code{node_color}.
@@ -257,7 +257,7 @@ heat_tree.taxmap <- function(.input, ...) {
257257# '
258258# ' @section ranges:
259259# '
260- # ' The displayed range of colors and sizes can be explicitly defined or automatically genereated .
260+ # ' The displayed range of colors and sizes can be explicitly defined or automatically generated .
261261# ' Size ranges are specified by supplying a \code{numeric} vector with two values: the minimum and maximum.
262262# ' The units used should be between 0 and 1, representing the proportion of a dimension of the graph.
263263# ' Since the dimensions of the graph are determined by layout, and not always square, the value
@@ -282,7 +282,7 @@ heat_tree.taxmap <- function(.input, ...) {
282282# ' \item{"graphopt"}{Use \code{\link[igraph]{with_graphopt}}. A force-directed layout.}
283283# ' \item{"mds"}{Use \code{\link[igraph]{with_mds}}. Multidimensional scaling.}
284284# ' \item{"fruchterman-reingold"}{Use \code{\link[igraph]{with_fr}}. A force-directed layout.}
285- # ' \item{"kamada-kawai"}{Use \code{\link[igraph]{with_kk}}. A layout based on a phyisical model of springs.}
285+ # ' \item{"kamada-kawai"}{Use \code{\link[igraph]{with_kk}}. A layout based on a physical model of springs.}
286286# ' \item{"large-graph"}{Use \code{\link[igraph]{with_lgl}}. Meant for larger graphs.}
287287# ' \item{"drl"}{Use \code{\link[igraph]{with_drl}}. A force-directed layout.}
288288# ' }
@@ -295,7 +295,7 @@ heat_tree.taxmap <- function(.input, ...) {
295295# ' These are defined in the same units as element size/color.
296296# ' By default, the minimum and maximum equals the range of the values used to infer size/color.
297297# ' Setting a custom interval is useful for making size/color in multiple graphs correspond to the same statistics,
298- # ' or setting logical bounderies (such as \code{c(0,1)} for proportions.
298+ # ' or setting logical boundaries (such as \code{c(0,1)} for proportions.
299299# ' Note that this is different from the "range" options, which determine the range of graphed sizes/colors.
300300# '
301301# ' @examples
0 commit comments