ReadGPR.R

From Organic Design wiki
Revision as of 04:02, 20 December 2005 by Sven (talk | contribs) (read script)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

library(limma) sessionInfo()

  1. 0 Set up directories

auxillaryDir <- "/Volumes/HD2/Data/Nutrigenomics/MultipleScans/Auxillary" dataDir <- "/Volumes/HD2/Data/Nutrigenomics/MultipleScans/GPR" plotDir <- "DiagnosticImages"

  1. 1) load targets and data

targets <- readTargets(dir(auxillaryDir), path=auxillaryDir)

type <- "mean" source.type <- switch(type,

      mean  <- "genepix",
      media <- "genepix.median"
      )

RG <- read.maimages(targets$Filename, path = dataDir, source=source.type, names=paste(targets$Filetype, targets$Scan),

                   wt.fun=wtflags(0))

RG$printer <- getLayout(RG$genes)