Creates a CDF from tiling-array BPMAP file.
NOTE: This method applies only to Affymetrix tiling arrays! Furthermore, it is likely to be more useful for promoter tiling arrays and less so for whole-genome tiling arrays.
# S3 method for default
bpmapCluster2Cdf(pathname, chipType, tags=NULL, rows, cols, maxProbeDistance=3000L,
minNbrOfProbes=30L, groupName=gsub("_.*", "", chipType), field="fullname",
stringRemove=sprintf("%s:.*;", groupName), ..., flavor=c("v2", "v1"), path="*",
verbose=-10)
Returns (invisibly) a the pathname of the created CDF file. The created CDF is written to the current directory.
The pathname to the BPMAP file.
The chip type and optional tags of the CDF to be written.
Two positive integer
s specifying the probe dimension
of the chip. It is important to get this correct. They can be
inferred from the CEL header of a CEL file for this chip,
cf. readCelHeader
.
A positive integer
specifying the maximum
genomic distance (in basepairs) allowed between two probes in order
to "cluster" those two probes into the same CDF units. Whenever the
distance is greater, the two probes end up in two different CDF units.
A positive integer
specifying the minimum number
of probes required in a CDF unit. If fewer, those probes are dropped.
A character
string specifying which BPMAP sequences
to keep. Sequence with this group name is kept, all others are
excluded.
A character
string.
An (optional) regular expression.
Optional arguments passed to readBpmap
.
Specifying which version of BPMAP-to-CDF generator to use. The default is always to use the most recent one, which is also the recommended one. Previous versions are kept only for backward compatibility (and may be dropped at anytime).
The directory where the CDF file will be written.
If "*"
(default), it will be written to
annotationData/chipTypes/<chipType>/
.
See Verbose
.
Henrik Bengtsson adopted from Mark Robinson standalone/online version as of July 11, 2011.
This method applies only to Affymetrix tiling arrays. It is likely
to be useful for promoter tiling arrays and less so for whole-genome
tiling arrays.
Flavor "v2"
replaced "v1"
as aroma.affymetrix v2.5.4
(June 21, 2012). For details, see news(package="aroma.affymetrix")
.