Entering edit mode
Guest User
★
13k
@guest-user-4897
Last seen 10.3 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.