Skip to content

Commit fee6cbf

Browse files
committed
Minor fixes
1 parent 277b6b9 commit fee6cbf

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

R/assignEvolutionColors.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ assignEvolutionColors <- function(
8282
nexus,
8383
threshold = 0.5,
8484
palette = NULL,
85-
use_measure = "inclusion"
85+
use_measure = "weighted"
8686
) {
8787
# Prepare data structure
8888
Nodes <- nexus$Nodes %>%
@@ -374,6 +374,7 @@ assignEvolutionColors <- function(
374374
by = "name"
375375
) %>%
376376
left_join(newdf, by = "name")
377+
377378
add_colors <- setdiff(palette, substr(clusters$color, 1, 7))
378379
clusters$color[is.na(clusters$color)] <- paste0(
379380
add_colors[1:length(which(is.na(clusters$color)))],
@@ -397,7 +398,7 @@ assignEvolutionColors <- function(
397398
) %>%
398399
mutate(
399400
color = ifelse(is.na(color), "#B3B3B380", color),
400-
color = ifelse(color == "#B3B3B340", "#B3B3B380", color)
401+
color = ifelse(color_original == "#B3B3B340", "#B3B3B380", color)
401402
)
402403

403404
# Create a color map

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ The function produces an interactive Sankey-like diagram showing
490490
thematic flows between periods, along with strategic maps for each time
491491
slice.
492492

493-
```{r fig.height=9, fig.width=9}
493+
```{r fig.height=7, fig.width=9}
494494
# Thematic Evolution
495495
TEResults <- thematicEvolution(M, field = "DE", n = 250,
496496
minFreq = 5, stemming = FALSE,

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ dplyr::glimpse(authorInfo)
522522
#> $ affiliation_raw <chr> "Department of Economics and Statistics, Università degli Studi di Napoli Federico…
523523
#> $ source_doi <chr> "10.1016/j.joi.2017.08.007"
524524
#> $ source_title <chr> "bibliometrix : An R-tool for comprehensive science mapping analysis"
525-
#> $ query_timestamp <dttm> 2025-11-05 21:19:07
525+
#> $ query_timestamp <dttm> 2025-11-05 21:23:33
526526
```
527527

528528
This function provides comprehensive author profiles including:

man/assignEvolutionColors.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)