Description Usage Arguments Value Examples
View source: R/createOrLoadAnnotations.R
Function that creates the annotation needed, or if it is already done, loads the file created. The annotation packages used need to be installed previously.
1 2 3 4 | createOrLoadAnnotations(loadAnnotations = FALSE, chipPackAvailable,
platformDesignPackAvailable, chipPackage, platformDesignPackage,
outputDir, annotationsFileName, entrezTableFileName,
symbolsTableFileName, controlsTableFileName)
|
loadAnnotations |
FALSE by default. If TRUE the function loads the annotations files. |
chipPackAvailable |
TRUE if there is a chip package available. |
platformDesignPackAvailable |
TRUE if there is a platform design package available. |
chipPackage |
Name of the chip package. Only if chipPackAvailable is TRUE. |
platformDesignPackage |
Name of the platform design. Only if platformDesignPackAvailable is TRUE. |
outputDir |
Path where the annotation will be stored. |
annotationsFileName |
Name of the file for annotations. |
entrezTableFileName |
Name of the file for Entrez genes. |
symbolsTableFileName |
Name of the file for gene symbols ID. |
controlsTableFileName |
Name of the file for controls. |
A list "anotacions" that contains the annotations, the Entrez genes and the gene symbols ID.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## Not run:
loadAnnotations <- FALSE
chipPackAvailable <- TRUE
platformDesignPackAvailable <- FALSE
chipPackage <- "hgu133a2"
platformDesignPackage <- NULL
outputDir <- "./ResultsDir"
annotationsFileName <- "Annotations"
entrezTableFileName <-"Entrezs.Rda"
symbolsTableFileName <-"Symbols.Rda"
controlsTableFileName <- "controls.Rda"
anotacions <- createOrLoadAnnotations (loadAnnotations= loadAnnotations,
chipPackAvailable = chipPackAvailable, platformDesignPackAvailable = platformDesignPackAvailable,
chipPackage = chipPackage, platformDesignPackage = platformDesignPackage,
outputDir = outputDir,annotationsFileName = annotationsFileName,
entrezTableFileName = entrezTableFileName, symbolsTableFileName = symbolsTableFileName,
controlsTableFileName = controlsTableFileName)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.