attract SynExprs error
0
0
Entering edit mode
Guest User ★ 13k
@guest-user-4897
Last seen 9.6 years ago
When running attract, an error is returned that I'm unsure of how to go about trouble shooting it: #Error in cutree(clust.pway, k = jval) : # elements of 'k' must be between 1 and 5 If I set removeGenes to NULL: for ( i in KEGG.ids ) { temp <- findSynexprs(trim(i), attractor.states) } The code runs smoothly and doesn't error out. Please help me change my if-else statement to account for this possible error (as I had hoped to construct it). Cheers and Thanks! -- output of sessionInfo(): for ( i in KEGG.ids ) { temp <- findSynexprs(trim(i), attractor.states, flatgenes) if ( (length(attributes(temp))) == 0 ){) temp <- findSynexprs(trim(i), attractor.states) } else { temp <- temp } } #Error in cutree(clust.pway, k = jval) : # elements of 'k' must be between 1 and 5 -- Sent via the guest posting facility at bioconductor.org.
attract attract • 676 views
ADD COMMENT

Login before adding your answer.

Traffic: 519 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6