soft2exp: expression matrix generator

Description Usage Arguments Value

View source: R/geo.R

Description

given an accession number(gseXXXX), this fxn download and extract the expression matrix

Usage

1
2
3
4
5
6
7
8
9
soft2exp(
  AccNum,
  filename = NULL,
  exp.col = 2,
  symbol.col,
  entrezID.col,
  phe.col,
  log2 = F
)

Arguments

AccNum

accession number

filename

read data from the local data instead of the remote server

exp.col

column number of expression value

symbol.col

column number of expression value, for arraymatrix data the GPL header is usually SYMBOL; for agilent44K it is GENE_SYMBOL(10th column of GPL4134)

entrezID.col

column number of entrez id, for affymetrix data it is named Entrez_Gene_ID, for agilent it is GENE(9th column of GPL4134)

phe.col

specify the phenotype information want to extract from the gsmlist

log2

set to T for logrithm transformation

Value

a list with expmatrix probeID symbols and entrezID


htc502/ewrefxn documentation built on Feb. 2, 2020, 9:14 a.m.