DataTreeSet
into an ExprTreeSet
using the Factor Analysis for Robust Microarray Summarization (FARMS) method.
farms(xps.data, filename = character(0), filedir = getwd(), tmpdir = "", normalize = TRUE, weight = 0.5, mu = 0.0, scale = 1.0, tol = 0.00001, cyc = 100, weighted = TRUE, version = "1.3.1", option = "transcript", exonlevel = "", xps.scheme = NULL, add.data = TRUE, verbose = TRUE)
DataTreeSet
.TRUE
normalize data using quantile normalization.version="1.3.1"
and to 8.0
for version="1.3.0"
.version="1.3.1"
and to 2.0
for version="1.3.0"
.version="1.3.1"
. Default is TRUE.version="1.3.1"
and
version="1.3.0"
are implemented. Default is version="1.3.1"
.SchemeTreeSet
.TRUE
expression data will be included as slot data
.TRUE
print status information.ExprTreeSet
Parameter version
currently allows the user to choose between the original implementation
of FARMS as implemented in package farms_1.3.0 or enhanced FARMS as implemented in
package farms_1.3.1. By default version="1.3.1"
is used.
Parameter weight
is a hyperparameter which determines the influence of the prior. For
version="1.3.1"
the value in the range of [0,1].
Parameter mu
is a hyperparameter which allows to quantify different aspects of potential
prior knowledge. Values near zero assume that most genes do not contain a signal and introduce
a bias for loading matrix elements near zero.
Parameter weighted
is a logical and indicates whether a weighted mean or a least square
fit is used to summarize the loading matrix. It is applicable only to version="1.3.1"
.
For exon arrays it is necessary to supply the requested option
and exonlevel
.
Following option
s are valid for exon arrays:
transcript : |
expression levels are computed for transcript clusters, i.e. probe sets containing the same 'transcript_cluster_id'. |
exon : |
expression levels are computed for exon clusters,
i.e. probe sets containing the same 'exon_id', where each exon cluster
consists of one or more probeset s. |
probeset : |
expression levels are computed for individual probe sets, i.e. for each 'probeset_id'. |
exonlevel
annotations are valid for exon arrays:
core : |
|
probesets supported by RefSeq and full-length GenBank transcripts. | |
metacore : |
core meta-probesets. |
extended : |
|
probesets with other cDNA support. | |
metaextended : |
extended meta-probesets. |
full : |
|
probesets supported by gene predictions only. | |
metafull : |
full meta-probesets. |
affx : |
|
standard AFFX controls. |
exonlevel
annotations are valid for whole genome arrays:
core : |
|
probesets with category 'unique', 'similar' and 'mixed'. | |
metacore : |
probesets with category 'unique' only. |
affx : |
|
standard AFFX controls. |
exonlevel="metacore+affy" : |
core meta-probesets plus AFFX controls |
exonlevel="core+extended" : |
probesets with cDNA support |
exonlevel="core+extended+full" : |
supported plus predicted probesets |
Exon level annotations are described in the Affymetrix whitepaper exon_probeset_trans_clust_whitepaper.pdf: Exon Probeset Annotations and Transcript Cluster Groupings.
In order to use an alternative SchemeTreeSet
set the corresponding SchemeSet xps.scheme
.
express
## first, load ROOT scheme file and ROOT data file
scheme.test3 <- root.scheme(paste(path.package("xps"),"schemes/SchemeTest3.root",sep="/"))
data.test3 <- root.data(scheme.test3, paste(path.package("xps"),"rootdata/DataTest3_cel.root",sep="/"))
data.farms <- farms(data.test3,"tmp_Test3FARMS",verbose=FALSE)
## get data.frame
expr.farms <- validData(data.farms)
head(expr.farms)
Run the code above in your browser using DataLab