Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

exportToTrack crashes when a CTSS object does not not contain filteredCTSSidx information. #83

Open
charles-plessy opened this issue Jun 29, 2023 · 0 comments
Labels

Comments

@charles-plessy
Copy link
Owner

This happens when the CAGEexp object was freshly created and never has been clustered.

The solution is to put some kind of guard statement near

    object$itemRgb <- ifelse(object$filteredCTSSidx, "black", "grey50")

Maybe something like if(is.null(object$filteredCTSSidx)) object$filteredCTSSidx <- Rle(TRUE)

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

No branches or pull requests

1 participant