Skip to content

Commit df77155

Browse files
committed
Fix fill=TRUE
1 parent e72a10a commit df77155

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

‎DESCRIPTION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: MSTExplorer
22
Title: Multi-Scale Target Explorer
3-
Version: 1.0.10
3+
Version: 1.0.11
44
Authors@R:
55
c(
66
person(given = "Brian",

‎NEWS.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# MSTExplorer 1.0.11
2+
3+
## Bug fixes
4+
5+
* `plot_ttd`: Add `fill=TRUE` when binding dts
6+
17
# MSTExplorer 1.0.10
28

39
## New features

‎R/prioritise_targets_grid.R‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ prioritise_targets_grid <- function(top_targets,
5757
if(!is.null(keep_physical_malformations)){
5858
res_class <- res_class[physical_malformations %in% keep_physical_malformations]
5959
}
60-
#### Filter by intersect between severity metdata and top_targets ####
60+
#### Filter by intersect between severity metadata and top_targets ####
6161
select_phenos <- intersect(res_class$hpo_name,
6262
unique(top_targets$hpo_name))
6363
res_class <- res_class[hpo_name %in% select_phenos]
@@ -134,14 +134,17 @@ prioritise_targets_grid <- function(top_targets,
134134
# non121_strategy="kbs",
135135
gene_output="column",
136136
method="homologene")
137-
})|> data.table::rbindlist(idcol="species")
137+
})|> data.table::rbindlist(idcol="species", fill = TRUE)
138+
138139
orthology[,species:=factor(species,levels=species_list, ordered=TRUE)]
140+
139141
dt <- merge(dat[variable=="gene_symbol"],
140142
orthology,
141143
by.x="value",
142144
by.y="input_gene",
143145
allow.cartesian=TRUE,
144146
all.x=TRUE)
147+
145148
gg <- ggplot2::ggplot(dt, ggplot2::aes(x=species, y=hpo_name,
146149
label=ortholog_gene)) +
147150
ggplot2::scale_x_discrete(labels=stringr::str_wrap(species_list,10),

0 commit comments

Comments
 (0)