Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Section
Column
width50%

Column
width5%

Column
width45%

On Related Pages

Page Tree
root@parent
startDepth3

These notes describe how we configured a custom AMI for running Coexpression on EC2.

...

datasets <- getDatasets()
dsId <- datasets$dataset.id[PLFM:datasets$dataset.name == "Harvard Brain Tissue Resource Center"]
ds <- getDataset(dsId)
layers <- getDatasetLayers(ds)

## hack
## get the expression layer and load it
layers <- layers$results
layerType <- NULL
for(i in 1:length(layers)){
layerType[i] <- layers[[PLFM:i]]$type
}

layers <- layers[PLFM:which(layerType == "E")]
for(i in 1:length(layers)){
#look for gene expression layer
indx <- grep("Agilent 44K",layers[[PLFM:i]]$platform)
if(length(indx) == 0) next
break
}
layers <- layers[[PLFM:i]]
exprLayerFiles <- synapseClient:::.cacheFiles(entity=layers)

...