Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
oganm committed Mar 9, 2023
1 parent 65e32d4 commit 802e733
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/convenience.R
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ get_dataset_object <- function(datasets,
expression <- get_dataset_expression_for_genes(unique(datasets),genes = genes, keepNonSpecific = keepNonSpecific,consolidate = consolidate,memoised = memoised)
}


# bit of a bottleneck
designs <- metadata %>% lapply(function(meta){
make_design(meta,metaType)
})
Expand Down Expand Up @@ -442,7 +442,7 @@ get_dataset_object <- function(datasets,
assayData = exprM,
phenoData = phenoData,
experimentData = expData,
annotation = get_dataset_platforms(dataset,memoised = memoised)$platform.ShortName
annotation = get_dataset_platforms(data$dat$experiment.ID,memoised = memoised)$platform.ShortName
)
})
names(out) <- datasets
Expand Down Expand Up @@ -472,7 +472,7 @@ get_dataset_object <- function(datasets,
experiment.ShortName = data$dat$experiment.ShortName,
.before = 1)

if(!is.na(data$result_set)){
if(!is.null(data$result_set)){
frm <- mutate(frm, result.ID = data$result_set,.before= 3)
}
return(frm)
Expand Down

0 comments on commit 802e733

Please sign in to comment.