-
Notifications
You must be signed in to change notification settings - Fork 2
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
calcShape error #19
Comments
Hello again, Interesting, I do not recall seeing that error before. Can you run the vignette and the calcShape examples? I cannot tell much about how the data looks just from the SummarizedExperiment overviews. Do you perhaps have a little reproducible example? |
Hello Malte,
Yes I do
The test data I am working on is taken from here. This is a snapshot of the 'TTS_quick' object
and this one of 'supportedCTSSs'
EDIT: if I use the 'shapeEntropy' or the 'shapeMean' argument for 'shapeFunction', instead of 'shapeIQR', everything works. Best, |
Interesting! So it must be the default It's been a while since I've looked at this function: Are the TCs you calculate also based on the supportedCTSSs object? |
You nailed it, Malte! I guess it is recommended to use 'supported CTSSs' also with the 'quickTSSs' function, right? Apologies for this very stupid error and thank you very much for your time and precious help. Best, |
Not stupid at all. I will leave this issue open: It might be a good idea for CAGEfightR to include a specific check for and produce a more sane error message before failing with that weird message. |
Maybe just specify in the 'Introduction to CAGEfightR' that one object must derive from the other: I thought that any RangedSummarizedExperiment would be fine but I was definitely wrong. Thank you very much again! |
Dear Malte,
when running the following code
TSSs_quick <- calcShape(TSSs_quick, pooled=supportedCTSSs, outputColumn = 'IQR', shapeFunction = shapeIQR, lower=0.25, upper=0.75)
I get this error:
I had a look at the 'calcShape' function but I was not able to understand where the missing values could be... The names of the objects are taken from your tutorial.
This is how 'TSSs_quick' is structured:
and this is 'supportedCTSSs':
Please also find attached my sessionInfo.
Thank you very much for your time.
Best regards,
Emiliano
sessionInfo_CAGEfightR.txt
The text was updated successfully, but these errors were encountered: