... | ... |
@@ -14,7 +14,7 @@ readIdatFiles(sampleSheet=NULL, arrayNames=NULL, ids=NULL, path="", |
14 | 14 |
position="SentrixPosition_A"), |
15 | 15 |
highDensity=FALSE, sep="_", |
16 | 16 |
fileExt=list(green="Grn.idat", red="Red.idat"), |
17 |
- saveDate=FALSE) |
|
17 |
+ saveDate=FALSE, verbose=FALSE) |
|
18 | 18 |
} |
19 | 19 |
|
20 | 20 |
\arguments{ |
... | ... |
@@ -44,6 +44,7 @@ readIdatFiles(sampleSheet=NULL, arrayNames=NULL, ids=NULL, path="", |
44 | 44 |
specify the .idat file extension for the Cy3 and Cy5 channels.} |
45 | 45 |
\item{saveDate}{logical. Should the dates from each .idat be saved |
46 | 46 |
with sample information?} |
47 |
+ \item{verbose}{logical. Should processing information be displayed as data is read in?} |
|
47 | 48 |
} |
48 | 49 |
|
49 | 50 |
\details{ |
- updated Makefile so it won't fail on Bioconductor
- added alias for readIdatFiles2
- removed a few of the exported functions from NAMESPACE that were there for purposes of debugging
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/crlmm@48622 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -62,6 +62,12 @@ Thanks to Keith Baggerly who provided the code to read in the binary .idat files |
62 | 62 |
for SNPs with 0 beads (\code{zero}) for each bead type. |
63 | 63 |
} |
64 | 64 |
|
65 |
+\references{ |
|
66 |
+ Ritchie ME, Carvalho BS, Hetrick KN, Tavar\'{e} S, Irizarry RA. |
|
67 |
+ R/Bioconductor software for Illumina's Infinium whole-genome |
|
68 |
+ genotyping BeadChips. Bioinformatics. 2009 Oct 1;25(19):2621-3. |
|
69 |
+} |
|
70 |
+ |
|
65 | 71 |
\author{Matt Ritchie} |
66 | 72 |
|
67 | 73 |
\examples{ |
... | ... |
@@ -46,8 +46,7 @@ readIdatFiles(sampleSheet=NULL, arrayNames=NULL, ids=NULL, path="", |
46 | 46 |
} |
47 | 47 |
|
48 | 48 |
\details{ |
49 |
-The summarised Cy3 (G) and Cy5 (R) intensity, number of beads that |
|
50 |
-were used in each channel and standard errors (all on the orginal scale) |
|
49 |
+The summarised Cy3 (G) and Cy5 (R) intensities (on the orginal scale) |
|
51 | 50 |
are read in from the .idat files. |
52 | 51 |
|
53 | 52 |
Where available, a \code{sampleSheet} data.frame, in the same format |
... | ... |
@@ -59,9 +58,8 @@ Thanks to Keith Baggerly who provided the code to read in the binary .idat files |
59 | 58 |
} |
60 | 59 |
|
61 | 60 |
\value{ |
62 |
- NChannelSet with intensity data (\code{R}, \code{G}), number of beads |
|
63 |
- (\code{Rnb}, \code{Gnb}) and standard errors (\code{Rse}, \code{Gse}) |
|
64 |
- for each bead type. |
|
61 |
+ NChannelSet with intensity data (\code{R}, \code{G}), and indicator |
|
62 |
+ for SNPs with 0 beads (\code{zero}) for each bead type. |
|
65 | 63 |
} |
66 | 64 |
|
67 | 65 |
\author{Matt Ritchie} |
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/crlmm@44482 bc3139a8-67e5-0310-9ffc-ced21a209358
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,74 @@ |
1 |
+\name{readIdatFiles} |
|
2 |
+\alias{readIdatFiles} |
|
3 |
+ |
|
4 |
+\title{Reads Idat Files from Infinium II Illumina BeadChips} |
|
5 |
+ |
|
6 |
+\description{ |
|
7 |
+ Reads intensity information for each bead type from |
|
8 |
+ .idat files of Infinium II genotyping BeadChips} |
|
9 |
+ |
|
10 |
+\usage{ |
|
11 |
+readIdatFiles(sampleSheet=NULL, arrayNames=NULL, ids=NULL, path="", |
|
12 |
+ arrayInfoColNames=list(barcode="SentrixBarcode_A", |
|
13 |
+ position="SentrixPosition_A"), |
|
14 |
+ highDensity=FALSE, sep="_", |
|
15 |
+ fileExt=list(green="Grn.idat", red="Red.idat"), |
|
16 |
+ saveDate=FALSE) |
|
17 |
+} |
|
18 |
+ |
|
19 |
+\arguments{ |
|
20 |
+ \item{sampleSheet}{\code{data.frame} containing Illumina sample sheet |
|
21 |
+ information (for required columns, refer to BeadStudio Genotyping |
|
22 |
+ guide - Appendix A).} |
|
23 |
+ \item{arrayNames}{character vector containing names of arrays to be |
|
24 |
+ read in. If \code{NULL}, all arrays that can be found in the |
|
25 |
+ specified working directory will be read in.} |
|
26 |
+ \item{ids}{vector containing ids of probes to be read in. If |
|
27 |
+ \code{NULL} all probes found on the first array are read in.} |
|
28 |
+ \item{path}{character string specifying the location of files to be |
|
29 |
+ read by the function} |
|
30 |
+ \item{arrayInfoColNames}{(used when \code{sampleSheet} is specified) |
|
31 |
+ list containing elements 'barcode' which indicates column names in |
|
32 |
+ the \code{sampleSheet} which contains the arrayNumber/barcode number |
|
33 |
+ and 'position' which indicates the strip number. In older style |
|
34 |
+ sample sheets, this information is combined (usually in a column |
|
35 |
+ named 'SentrixPosition') and this should be specified as |
|
36 |
+ \code{list(barcode=NULL, position="SentrixPosition")}} |
|
37 |
+ \item{highDensity}{logical (used when \code{sampleSheet} is |
|
38 |
+ specified). If \code{TRUE}, array extensions '\_A', '\_B' in |
|
39 |
+ sampleSheet are replaced with 'R01C01', 'R01C02' etc.} |
|
40 |
+ \item{sep}{character string specifying separator used in .idat file |
|
41 |
+ names.} |
|
42 |
+ \item{fileExt}{list containing elements 'Green' and 'Red' which |
|
43 |
+ specify the .idat file extension for the Cy3 and Cy5 channels.} |
|
44 |
+ \item{saveDate}{logical. Should the dates from each .idat be saved |
|
45 |
+ with sample information?} |
|
46 |
+} |
|
47 |
+ |
|
48 |
+\details{ |
|
49 |
+The summarised Cy3 (G) and Cy5 (R) intensity, number of beads that |
|
50 |
+were used in each channel and standard errors (all on the orginal scale) |
|
51 |
+are read in from the .idat files. |
|
52 |
+ |
|
53 |
+Where available, a \code{sampleSheet} data.frame, in the same format |
|
54 |
+as used by BeadStudio (columns 'Sample\_ID', 'SentrixBarcode\_A' and |
|
55 |
+'SentrixPosition\_A' are required) which keeps track of sample |
|
56 |
+information can be specified. |
|
57 |
+ |
|
58 |
+Thanks to Keith Baggerly who provided the code to read in the binary .idat files. |
|
59 |
+} |
|
60 |
+ |
|
61 |
+\value{ |
|
62 |
+ NChannelSet with intensity data (\code{R}, \code{G}), number of beads |
|
63 |
+ (\code{Rnb}, \code{Gnb}) and standard errors (\code{Rse}, \code{Gse}) |
|
64 |
+ for each bead type. |
|
65 |
+} |
|
66 |
+ |
|
67 |
+\author{Matt Ritchie} |
|
68 |
+ |
|
69 |
+\examples{ |
|
70 |
+ |
|
71 |
+#RG = readIdatFiles() |
|
72 |
+ |
|
73 |
+} |
|
74 |
+\keyword{IO} |
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/crlmm@43010 bc3139a8-67e5-0310-9ffc-ced21a209358
1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,74 +0,0 @@ |
1 |
-\name{readIdatFiles} |
|
2 |
-\alias{readIdatFiles} |
|
3 |
- |
|
4 |
-\title{Reads Idat Files from Infinium II Illumina BeadChips} |
|
5 |
- |
|
6 |
-\description{ |
|
7 |
- Reads intensity information for each bead type from |
|
8 |
- .idat files of Infinium II genotyping BeadChips} |
|
9 |
- |
|
10 |
-\usage{ |
|
11 |
-readIdatFiles(sampleSheet=NULL, arrayNames=NULL, ids=NULL, path="", |
|
12 |
- arrayInfoColNames=list(barcode="SentrixBarcode_A", |
|
13 |
- position="SentrixPosition_A"), |
|
14 |
- highDensity=FALSE, sep="_", |
|
15 |
- fileExt=list(green="Grn.idat", red="Red.idat"), |
|
16 |
- saveDate=FALSE) |
|
17 |
-} |
|
18 |
- |
|
19 |
-\arguments{ |
|
20 |
- \item{sampleSheet}{\code{data.frame} containing Illumina sample sheet |
|
21 |
- information (for required columns, refer to BeadStudio Genotyping |
|
22 |
- guide - Appendix A).} |
|
23 |
- \item{arrayNames}{character vector containing names of arrays to be |
|
24 |
- read in. If \code{NULL}, all arrays that can be found in the |
|
25 |
- specified working directory will be read in.} |
|
26 |
- \item{ids}{vector containing ids of probes to be read in. If |
|
27 |
- \code{NULL} all probes found on the first array are read in.} |
|
28 |
- \item{path}{character string specifying the location of files to be |
|
29 |
- read by the function} |
|
30 |
- \item{arrayInfoColNames}{(used when \code{sampleSheet} is specified) |
|
31 |
- list containing elements 'barcode' which indicates column names in |
|
32 |
- the \code{sampleSheet} which contains the arrayNumber/barcode number |
|
33 |
- and 'position' which indicates the strip number. In older style |
|
34 |
- sample sheets, this information is combined (usually in a column |
|
35 |
- named 'SentrixPosition') and this should be specified as |
|
36 |
- \code{list(barcode=NULL, position="SentrixPosition")}} |
|
37 |
- \item{highDensity}{logical (used when \code{sampleSheet} is |
|
38 |
- specified). If \code{TRUE}, array extensions '\_A', '\_B' in |
|
39 |
- sampleSheet are replaced with 'R01C01', 'R01C02' etc.} |
|
40 |
- \item{sep}{character string specifying separator used in .idat file |
|
41 |
- names.} |
|
42 |
- \item{fileExt}{list containing elements 'Green' and 'Red' which |
|
43 |
- specify the .idat file extension for the Cy3 and Cy5 channels.} |
|
44 |
- \item{saveDate}{logical. Should the dates from each .idat be saved |
|
45 |
- with sample information?} |
|
46 |
-} |
|
47 |
- |
|
48 |
-\details{ |
|
49 |
-The summarised Cy3 (G) and Cy5 (R) intensity, number of beads that |
|
50 |
-were used in each channel and standard errors (all on the orginal scale) |
|
51 |
-are read in from the .idat files. |
|
52 |
- |
|
53 |
-Where available, a \code{sampleSheet} data.frame, in the same format |
|
54 |
-as used by BeadStudio (columns 'Sample\_ID', 'SentrixBarcode\_A' and |
|
55 |
-'SentrixPosition\_A' are required) which keeps track of sample |
|
56 |
-information can be specified. |
|
57 |
- |
|
58 |
-Thanks to Keith Baggerly who provided the code to read in the binary .idat files. |
|
59 |
-} |
|
60 |
- |
|
61 |
-\value{ |
|
62 |
- NChannelSet with intensity data (\code{R}, \code{G}), number of beads |
|
63 |
- (\code{Rnb}, \code{Gnb}) and standard errors (\code{Rse}, \code{Gse}) |
|
64 |
- for each bead type. |
|
65 |
-} |
|
66 |
- |
|
67 |
-\author{Matt Ritchie} |
|
68 |
- |
|
69 |
-\examples{ |
|
70 |
- |
|
71 |
-#RG = readIdatFiles() |
|
72 |
- |
|
73 |
-} |
|
74 |
-\keyword{IO} |
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/crlmm@42271 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -8,7 +8,7 @@ |
8 | 8 |
.idat files of Infinium II genotyping BeadChips} |
9 | 9 |
|
10 | 10 |
\usage{ |
11 |
-readIdatFiles(sampleSheet=NULL, arrayNames=NULL, ids=NULL, path=".", |
|
11 |
+readIdatFiles(sampleSheet=NULL, arrayNames=NULL, ids=NULL, path="", |
|
12 | 12 |
arrayInfoColNames=list(barcode="SentrixBarcode_A", |
13 | 13 |
position="SentrixPosition_A"), |
14 | 14 |
highDensity=FALSE, sep="_", |
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/crlmm@40309 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -35,7 +35,7 @@ readIdatFiles(sampleSheet=NULL, arrayNames=NULL, ids=NULL, path=".", |
35 | 35 |
named 'SentrixPosition') and this should be specified as |
36 | 36 |
\code{list(barcode=NULL, position="SentrixPosition")}} |
37 | 37 |
\item{highDensity}{logical (used when \code{sampleSheet} is |
38 |
- specified). If \code{TRUE}, array extensions '_A', '_B' in |
|
38 |
+ specified). If \code{TRUE}, array extensions '\_A', '\_B' in |
|
39 | 39 |
sampleSheet are replaced with 'R01C01', 'R01C02' etc.} |
40 | 40 |
\item{sep}{character string specifying separator used in .idat file |
41 | 41 |
names.} |
... | ... |
@@ -51,8 +51,8 @@ were used in each channel and standard errors (all on the orginal scale) |
51 | 51 |
are read in from the .idat files. |
52 | 52 |
|
53 | 53 |
Where available, a \code{sampleSheet} data.frame, in the same format |
54 |
-as used by BeadStudio (columns 'Sample_ID', 'SentrixBarcode_A' and |
|
55 |
-'SentrixPosition_A' are required) which keeps track of sample |
|
54 |
+as used by BeadStudio (columns 'Sample\_ID', 'SentrixBarcode\_A' and |
|
55 |
+'SentrixPosition\_A' are required) which keeps track of sample |
|
56 | 56 |
information can be specified. |
57 | 57 |
|
58 | 58 |
Thanks to Keith Baggerly who provided the code to read in the binary .idat files. |
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/crlmm@38548 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -12,7 +12,8 @@ readIdatFiles(sampleSheet=NULL, arrayNames=NULL, ids=NULL, path=".", |
12 | 12 |
arrayInfoColNames=list(barcode="SentrixBarcode_A", |
13 | 13 |
position="SentrixPosition_A"), |
14 | 14 |
highDensity=FALSE, sep="_", |
15 |
- fileExt=list(green="Grn.idat", red="Red.idat")) |
|
15 |
+ fileExt=list(green="Grn.idat", red="Red.idat"), |
|
16 |
+ saveDate=FALSE) |
|
16 | 17 |
} |
17 | 18 |
|
18 | 19 |
\arguments{ |
... | ... |
@@ -40,6 +41,8 @@ readIdatFiles(sampleSheet=NULL, arrayNames=NULL, ids=NULL, path=".", |
40 | 41 |
names.} |
41 | 42 |
\item{fileExt}{list containing elements 'Green' and 'Red' which |
42 | 43 |
specify the .idat file extension for the Cy3 and Cy5 channels.} |
44 |
+ \item{saveDate}{logical. Should the dates from each .idat be saved |
|
45 |
+ with sample information?} |
|
43 | 46 |
} |
44 | 47 |
|
45 | 48 |
\details{ |
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/crlmm@38297 bc3139a8-67e5-0310-9ffc-ced21a209358
1 | 1 |
new file mode 100755 |
... | ... |
@@ -0,0 +1,71 @@ |
1 |
+\name{readIdatFiles} |
|
2 |
+\alias{readIdatFiles} |
|
3 |
+ |
|
4 |
+\title{Reads Idat Files from Infinium II Illumina BeadChips} |
|
5 |
+ |
|
6 |
+\description{ |
|
7 |
+ Reads intensity information for each bead type from |
|
8 |
+ .idat files of Infinium II genotyping BeadChips} |
|
9 |
+ |
|
10 |
+\usage{ |
|
11 |
+readIdatFiles(sampleSheet=NULL, arrayNames=NULL, ids=NULL, path=".", |
|
12 |
+ arrayInfoColNames=list(barcode="SentrixBarcode_A", |
|
13 |
+ position="SentrixPosition_A"), |
|
14 |
+ highDensity=FALSE, sep="_", |
|
15 |
+ fileExt=list(green="Grn.idat", red="Red.idat")) |
|
16 |
+} |
|
17 |
+ |
|
18 |
+\arguments{ |
|
19 |
+ \item{sampleSheet}{\code{data.frame} containing Illumina sample sheet |
|
20 |
+ information (for required columns, refer to BeadStudio Genotyping |
|
21 |
+ guide - Appendix A).} |
|
22 |
+ \item{arrayNames}{character vector containing names of arrays to be |
|
23 |
+ read in. If \code{NULL}, all arrays that can be found in the |
|
24 |
+ specified working directory will be read in.} |
|
25 |
+ \item{ids}{vector containing ids of probes to be read in. If |
|
26 |
+ \code{NULL} all probes found on the first array are read in.} |
|
27 |
+ \item{path}{character string specifying the location of files to be |
|
28 |
+ read by the function} |
|
29 |
+ \item{arrayInfoColNames}{(used when \code{sampleSheet} is specified) |
|
30 |
+ list containing elements 'barcode' which indicates column names in |
|
31 |
+ the \code{sampleSheet} which contains the arrayNumber/barcode number |
|
32 |
+ and 'position' which indicates the strip number. In older style |
|
33 |
+ sample sheets, this information is combined (usually in a column |
|
34 |
+ named 'SentrixPosition') and this should be specified as |
|
35 |
+ \code{list(barcode=NULL, position="SentrixPosition")}} |
|
36 |
+ \item{highDensity}{logical (used when \code{sampleSheet} is |
|
37 |
+ specified). If \code{TRUE}, array extensions '_A', '_B' in |
|
38 |
+ sampleSheet are replaced with 'R01C01', 'R01C02' etc.} |
|
39 |
+ \item{sep}{character string specifying separator used in .idat file |
|
40 |
+ names.} |
|
41 |
+ \item{fileExt}{list containing elements 'Green' and 'Red' which |
|
42 |
+ specify the .idat file extension for the Cy3 and Cy5 channels.} |
|
43 |
+} |
|
44 |
+ |
|
45 |
+\details{ |
|
46 |
+The summarised Cy3 (G) and Cy5 (R) intensity, number of beads that |
|
47 |
+were used in each channel and standard errors (all on the orginal scale) |
|
48 |
+are read in from the .idat files. |
|
49 |
+ |
|
50 |
+Where available, a \code{sampleSheet} data.frame, in the same format |
|
51 |
+as used by BeadStudio (columns 'Sample_ID', 'SentrixBarcode_A' and |
|
52 |
+'SentrixPosition_A' are required) which keeps track of sample |
|
53 |
+information can be specified. |
|
54 |
+ |
|
55 |
+Thanks to Keith Baggerly who provided the code to read in the binary .idat files. |
|
56 |
+} |
|
57 |
+ |
|
58 |
+\value{ |
|
59 |
+ NChannelSet with intensity data (\code{R}, \code{G}), number of beads |
|
60 |
+ (\code{Rnb}, \code{Gnb}) and standard errors (\code{Rse}, \code{Gse}) |
|
61 |
+ for each bead type. |
|
62 |
+} |
|
63 |
+ |
|
64 |
+\author{Matt Ritchie} |
|
65 |
+ |
|
66 |
+\examples{ |
|
67 |
+ |
|
68 |
+#RG = readIdatFiles() |
|
69 |
+ |
|
70 |
+} |
|
71 |
+\keyword{IO} |