Revision b70196b5bd3819379fb4440013478d09455b1fb3 authored by petrovich on 21 October 2018, 23:13:42 UTC, committed by Vladislav Kamenev on 26 October 2018, 11:35:45 UTC
1 parent c294c2e
probeDataset.R
probeDataset <- function (es, query) {
exprsIndices <- query$exprs;
fDataQuery <- query$fData;
response <- list()
response[['dims']] <- dim(exprs(es))
response[['fvarLabels']] <- colnames(fData(es))
response[['probe']] <- exprs(es)[exprsIndices]
response[['fdata']] <- list()
for(i in seq_len(nrow(fDataQuery))) {
row <- fDataQuery[i,]
response[['fdata']][[row$name]] <- fData(es)[[row$name]][row$indices[[1]]]
}
jsonlite::toJSON(response)
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...