Closed z626093820 closed 3 years ago
You can clearly see that example_length_dist_split
doesn't include any element called plot. You have dt, _plot_wholesample and _startcodon and that's it. So you have two separated plots and not a single plot with both of them. For that you should define a named list containing the character strings specifying the name of the sample(s) of interest (from documentation):
sample_list <- list("Only_start" = c("start_codon"),
"All" = c("whole_sample"))
Then
example_length_dist_split <- rlength_distr(comparison_list,
sample = sample_list,
plot_style = "split",
colour = c("dodgerblue", "gray70"))
example_length_dist_split[["plot"]]
when i use the changed command, there is no figure out. that's why thank you!
Ummm and if you try to add multisamples = "average"
?
yes,there is a figure out! thank you!
Okay, there are too many combinations and I messed up somewhere. I'll fix it and be more explicit in the ReadMe. Thank you for opening this issue.
when i use command : "> example_length_dist_split <- rlength_distr(comparison_list,sample = c("whole_sample", "start_codon"),plot_style = "split",colour = c("dodgerblue", "gray70"))
there is no figure! how can is slove the problem, thank you!