Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

choose_readlengths does not work properly #1

Open
vschnei opened this issue Aug 30, 2019 · 1 comment
Open

choose_readlengths does not work properly #1

vschnei opened this issue Aug 30, 2019 · 1 comment

Comments

@vschnei
Copy link

vschnei commented Aug 30, 2019

Hey Lorenzo,
first of all good job. I like Ribo-seQC and SaTAnn very much.

While applying Ribo-seQC on a small Ribo-seq library, I got the following error:

Error in base::colMeans(x, na.rm = na.rm, dims = dims, ...) :
'x' must be an array of at least two dimensions

The problem is that during read length estimation (MT) only one transcript shows signal which causes a data frame drop. This can be easily solved by:

codon_gain<- codon_gain[!apply(codon_gain,1,FUN = function(y){sum(is.na(y))>0}),, drop=F]

best,
Valentin

@lcalviell
Copy link
Owner

Thank you Valentin, will do! Sorry for seeing this late

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants