getXTAprobefileData: Read a data file describing the probe sequences on an...

Description Usage Arguments Details Value See Also Examples

View source: R/getXTAprobefileData.R

Description

Read a data file describing the probe sequences on an Affymetrix genechip

Usage

1
getXTAprobefileData(arraytype, datafile, pkgname, chip.pd, comparewithcdf = FALSE)

Arguments

arraytype

Character. Array type (e.g. 'HG-U133A')

datafile

Character with the filename of the input data file, or a connection (see example). If omitted a default name is constructed from arraytype (for details you will need to consult this function's source code).

pkgname

Character. Package name. If NULL the name is derived from arraytype.

chip.pd

Character. Name of the platform design file for the arraytype.

comparewithcdf

Logical. If TRUE, run a consistency check against a CDF package of the same name (what used to be Laurent's "extraparanoia".)

Details

This function serves as an interface between the (1) representation of array probe information data in the packages that are generated by makeProbePackageGCSs and (2) the vendor- and possibly version-specific way the data are represented in datafile.

datafile is a tabulator-separated file with one row per probe, and column names 'Probe X', 'Probe Y', 'Probe Sequence', and 'Probe.Set.Name'. See the vignette for an example.

Value

A list with three components

dataEnv

an environment which contains the data frame with the probe sequences and the other probe data.

symVal

a named list of symbol value substitutions which can be used to customize the man pages. See createPackage.

pkgname

a character with the package name; will be the same as the function parameter pkgname if it was specified; otherwise, the name is constructed from the parameter arraytype.

See Also

makeProbePackage

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
  if (length(list.files(path = ".", pattern = "*.CEL")) != 0){
  ## Example using the "MTA_1-0" chip-type:
  
  ## Input the clean name for the given chip:
  chip <- "mta10"

  ## Input the .probe_tab file, as generated using the internal function:
     ##  ClariomDXTApFBuilder()
  
  probedata <- "GCSs.mta10.probeFile.probe_tab"
  
  ## Run function:
  getXTAprobefileData(arraytype = chip, datafile = probedata)
  }

GCSscore documentation built on Nov. 8, 2020, 7:47 p.m.