I'm having trouble getting a table of results.
Command:
answer <- get_multimir(url = NULL, org = "hsa", mirna = "MIMAT0000450", target = NULL, disease.drug = "cancer", table = "validated", predicted.cutoff = NULL, predicted.cutoff.type = "p", predicted.site = "conserved", summary = FALSE, add.link = FALSE, use.tibble = TRUE, limit = NULL, legacy.out = FALSE)
When I am trying to create a table using:
write.table(answer,"C:\\Users\\Someone\\Desktop\\Rresults\\data.csv", row.names=FALSE)
it results in the following error:
Error in as.data.frame.default(x[[i]], optional = TRUE) : cannot coerce class ‘structure("mmquery_bioc", package = "multiMiR")’ to a data.frame