mirror of
https://github.com/johrpan/geposan.git
synced 2025-10-25 19:37:23 +02: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)) {
|
||||
data[, x := distance]
|
||||
} else {
|
||||
data[, x := start_position]
|
||||
data[, x := (start_position + end_position) / 2]
|
||||
}
|
||||
|
||||
fig <- plotly::plot_ly() |>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue