Skip to content
Snippets Groups Projects
Commit d86efc74 authored by Holger Brandl's avatar Holger Brandl
Browse files

cont. dba

parent 25ed1a5f
No related branches found
No related tags found
No related merge requests found
......@@ -170,6 +170,13 @@ davidAnnotationChart <- function( someGenes, ontologies=DEF_DAVID_ONTOLOGIES ){
unloadNamespace('RDAVIDWebService')
return(annoChart %>% subset(select=-Genes))
## remove gene colum
# browser()
annoChart <- as.data.frame(unclass(annoChart))
# http://stackoverflow.com/questions/25271856/cannot-coerce-class-typeof-is-double-to-a-data-frame
if(nrow(annoChart) >0) annoChart <- annoChart %>% dplyr::select(select=-Genes)
return(annoChart)
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment