iadd: Add data from Illumina IDAT files to a gds file.

Description Usage Arguments Value Author(s) See Also Examples

Description

iadd will add data from multiple, specified, idat files providing '/path/to/barcode' is valid path to a specified gds file. Barcode here implies the first part of the idat file name i.e without '_(Red|Grn).idat'

iadd2 will add data from all idat files that are stored within a single directory to a gds file.

Usage

1
2
iadd(bar, gds, n = TRUE, ...)
iadd2(path, gds, chunksize = NULL, ...)

Arguments

bar

The barcode for an IDAT file OR the file path of the file containing red or green channel intensities for that barcode (this will automatically locate and import both files regardless of which one you provide)

path

The file path where (multiple) IDAT files exist. iadd2 will process every idat within the specified directory.

gds

Either: A gds.class object

Or: A character string specifying the name of an existing .gds file to write to.

Or: A character string specifying the name of a new .gds file to write to

chunksize

If NULL, iadd2 will read in all barcodes in one go. Or if supplied with a numeric value, iadd2 will read in that number of idat files in batches

n

Logical, whether or not bead-counts are extracted from idat files.

...

Additional Arguments passed to wateRmelons methylumIDATepic.

Value

returns a gds.class object, which points to the appended .gds file.

Author(s)

Tyler Gorrie-Stone, Leonard C Schalkwyk, Ayden Saffari. Who to contact: <t.gorrie-stone@qmul.ac.uk>

See Also

es2gds, app2gds.

Examples

1
2
3
4
5
6
if(require('minfiData')){
bd <- system.file('extdata', package='minfiData')
gfile <- iadd2(file.path(bd, '5723646052'), gds = 'melon.gds')
closefn.gds(gfile)
unlink('melon.gds')
}

bigmelon documentation built on Nov. 8, 2020, 7:40 p.m.