LabTranslationalArchitectomics / riboWaltz

optimization of ribosome P-site positioning in ribosome profiling data
MIT License
46 stars 12 forks source link

Multiple samples error in rlength_distr #41

Closed agoldkamp closed 3 years ago

agoldkamp commented 3 years ago

Hello,

I am able to generate read length distribution plots for individual samples. However, when I try to use multiple samples I get this error:

example_length_dist_rep <- rlength_distr(reads_list, sample = list("Liver_avg" = c("Liver_2.norrna_notrna_ref_mRNA", "Liver_3.norrna_notrna_ref_mRNA")), cl = 99, multisamples = "average", colour = "gray70")

Error in rlength_distr(reads_list, sample = list(Liver_avg = c("Liver_1.norrna_notrna_ref_mRNA", : unused arguments (multisamples = "average", colour = "gray70")

Any ideas on how to resolve this issue?

Thank you

fabiolauria commented 3 years ago

Hi there.

_rlengthdistr works fine with my own data and the very same options from your chunk. Are you sure you have the latest version of riboWaltz? A couple of things changed in the last updates, especially regarding the handling of multiple samples in _rlengthdistr. E.g., previously the parameter multisamples was differently defined.

Best Fabio

agoldkamp commented 3 years ago

I had the latest version but redownloaded it and that did the trick!

Thank you for your help!