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

Error in calcCombCnvProb #48

Open
Rongtingting opened this issue Jun 3, 2021 · 1 comment
Open

Error in calcCombCnvProb #48

Rongtingting opened this issue Jun 3, 2021 · 1 comment

Comments

@Rongtingting
Copy link
Contributor

Rongtingting commented Jun 3, 2021

Hi Prof. Fan,
Thank you for your development of HoneyBADGER!
I tried hb$retestIdentifiedCnvs(retestBoundGenes=TRUE, retestBoundSnps=TRUE, verbose=FALSE) and get the error: Error in as.vector(x) : no method for coercing this S4 class to a vector
I guess there can be something wrong in the calcCombCnvProb method, but I have no idea which step can call this error.
Could you help to give some instructions and help to solve the problem?

Thanks a lot!

Best regards,
Rongting


and part of the log:

Aggregating data to list ...
Initializing model ...
...Done!restricting to 538 genes in region
Aggregating data to list ...
Initializing model ...
...Done!restricting to 1341 genes in region
Aggregating data to list ...
Initializing model ...
...Done!restricting to 443 genes in region
Aggregating data to list ...
Initializing model ...
...Done!restricting to 192 genes in region
Aggregating data to list ...
Initializing model ...
...Done!Retesting bound snps ... Assessing posterior probability of CNV in region ...
with 1433 snps ... within 290 genes ...
converting to multi-dimensional arrays ... Aggregating data to list ...
Running model ...
Done modeling!WARNING! ONLY 4 SNPS IN REGION!
Assessing posterior probability of CNV in region ...
with 4 snps ... within 2 genes ...
converting to multi-dimensional arrays ... Aggregating data to list ...
Running model ...
Done modeling!Retesting bound snps and genes using joint modelError in as.vector(x) : no method for coercing this S4 class to a vector
Calls: -> union -> unique -> as.vector
Execution halted

@Rongtingting
Copy link
Contributor Author

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

No branches or pull requests

1 participant