Description Usage Arguments Value Author(s) References See Also Examples
Function to immitate Affymetrix' gtype\_cel\_to\_pq software.
1 2 |
filename |
The name of a CEL file. |
units |
Indices of CDF units to be returned. |
... |
Arguments passed to |
cdf |
A CDF |
nbrOfQuartets |
The number of probe quartets in the returned
|
verbose |
See |
Returns an NxK matrix
where N is the number of probesets (SNPs) and
K=4*Q where Q is the number of probe quartets (PMA,MMA,PMB,MMB).
The rownames corresponds to the probeset names.
Henrik Bengtsson
[1] Affymetrix, Understanding Genotyping Probe Set Structure, 2005.
http://www.affymetrix.com/support/developer/whitepapers/genotyping_probe_set_structure.affx
gtypeCelToPQ
().
applyCdfGroups
.
1 2 3 4 5 6 7 8 9 10 | # Scan for CEL files
files <- list.files(pattern="[.](cel|CEL)$")
# Convert each to RAW file
for (file in files) {
rawFile <- gsub("[.][^.]*$", ".raw", file)
file.remove(rawFile)
cel <- gtypeCelToPQ(file, verbose=TRUE)
write.table(file=rawFile, cel, sep="\t", quote=FALSE)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.