mirror of
https://github.com/johrpan/geposan.git
synced 2025-10-26 10:47:25 +01:00
plots: Use mean gene position for positions plot
This commit is contained in:
parent
c60f6a8aff
commit
948cb337db
1 changed files with 1 additions and 1 deletions
|
|
@ -583,7 +583,7 @@ plot_scores_by_position <- function(ranking,
|
||||||
if (is.null(chromosome_name)) {
|
if (is.null(chromosome_name)) {
|
||||||
data[, x := distance]
|
data[, x := distance]
|
||||||
} else {
|
} else {
|
||||||
data[, x := start_position]
|
data[, x := (start_position + end_position) / 2]
|
||||||
}
|
}
|
||||||
|
|
||||||
fig <- plotly::plot_ly() |>
|
fig <- plotly::plot_ly() |>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue