Skip to content

Commit

Permalink
tibble support
Browse files Browse the repository at this point in the history
  • Loading branch information
oganm committed Oct 10, 2018
1 parent e17e9d4 commit 78efee0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/markerGeneSelection.R
Expand Up @@ -41,6 +41,8 @@ markerCandidates = function(design,
regionHierarchy = NULL,
geneID = 'Gene.Symbol',
seed = NULL){

design %<>% as.data.frame()
# source('R/regionHierarchy.R')
# so that I wont fry my laptop
if (parallel::detectCores()<cores){
Expand Down
1 change: 1 addition & 0 deletions R/regionize.R
Expand Up @@ -8,6 +8,7 @@
#' it will be represented as an NA, otherwise it'll have the cell type name indicated in the region
#' @export
regionize = function(design,regionNames,groupNames, regionHierarchy = NULL){
design %<>% as.data.frame
# if a hierarchy is not provided, create one with a single layer
if (is.null(regionHierarchy)){
regionHierarchy = vector(mode='list',
Expand Down

0 comments on commit 78efee0

Please sign in to comment.