View source: R/functions_batch.R
extract_scan_date | R Documentation |
Extracts date of scanning from original array files (e.g. CEL for Affymetrix and idat for Illumina arrays).
extract_scan_date( se, col.sample.id = "geo_accession", array.type = "affy", temp.dir = tempdir(), tryFormats = c("%Y-%m-%d", "%Y/%m/%d", "%m/%d/%Y", "%m/%d/%y", "%m-%d-%Y", "%d-%b-%Y") )
se |
[ |
col.sample.id |
[character(1)] Column in colData() with sample accession information (default: "geo_accession") |
array.type |
[character(1)] type of array ("affy" (default), "agilent" or "illumina") |
temp.dir |
[character(1)] directory where temporary files should be stored |
tryFormats |
[character(n)] Possible format strings to try when
converting date as character to an object of class
|
Currently only implemented for Affymetrix arrays.
SummarizedExperiment-class
object with scan date added as column scan.date in colData.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.