readCdfUnits()
function.
readCdf(filename, units=NULL, readXY=TRUE, readBases=TRUE, readIndexpos=TRUE, readAtoms=TRUE, readUnitType=TRUE, readUnitDirection=TRUE, readUnitNumber=TRUE, readUnitAtomNumbers=TRUE, readGroupAtomNumbers=TRUE, readGroupDirection=TRUE, readIndices=FALSE, readIsPm=FALSE, stratifyBy=c("nothing", "pmmm", "pm", "mm"), verbose=0)
TRUE
, cell row and column (x,y) coordinates are
retrieved, otherwise not.TRUE
, cell P and T bases are retrieved, otherwise not.TRUE
, cell indexpos are retrieved, otherwise not.TRUE
, cell "expos" values are retrieved, otherwise not.TRUE
, unit types are retrieved, otherwise not.TRUE
, unit directions are retrieved, otherwise not.TRUE
, unit numbers are retrieved, otherwise not.TRUE
, unit atom numbers are retrieved, otherwise not.TRUE
, group atom numbers are retrieved, otherwise not.TRUE
, group directions are retrieved, otherwise not.TRUE
, cell indices calculated from
the row and column (x,y) coordinates are retrieved, otherwise not.
Note that these indices are one-based.TRUE
, cell flags indicating whether the cell
is a perfect-match (PM) probe or not are retrieved, otherwise not.character
string specifying which and how
elements in group fields are returned.
If "nothing"
, elements are returned as is, i.e. as vector
s.
If "pm"
/"mm"
, only elements corresponding to
perfect-match (PM) / mismatch (MM) probes are returned (as vector
s).
If "pmmm"
, elements are returned as a matrix where the
first row holds elements corresponding to PM probes and the second
corresponding to MM probes. Note that in this case, it is assumed
that there are equal number of PMs and MMs; if not, an error is
generated.
Moreover, the PMs and MMs may not even be paired, i.e. there is no
guarantee that the two elements in a column corresponds to a
PM-MM pair.integer
specifying the verbose level. If 0, the
file is parsed quietly. The higher numbers, the more details.x
, y
, pbase
, tbase
,
expos
.2. Cell coordinates and cell indices
.readCdfUnits
() instead of this method.
readCdfHeader
() for getting the header of a CDF file.