Description Usage Arguments Details Value Author(s) See Also Examples
A constructor function which takes a tabulated .txt file as input, possibly in a
compressed format (.bz2 or .gz).
Notice that precise column names are mandatory, see the details
section.
1 2 | readGeneric(filePath, sampleName=NA, labName=NA,
genome = c("hg19", "hg18", "hg38"), ploidy = 2, verbose=TRUE)
|
filePath |
: string. A path to an Generic .txt file. |
sampleName |
: string. A sample Id. Optional. |
labName |
: string. A lab Id. Optional. |
genome |
: string. The genome build to use. Supported genomes are |
ploidy |
: numeric. A priori ploidy value, when known, to adjust the estimation of copy numbers. Default is 2. |
verbose |
: logical. When |
This generic constructor does not expect any preamble. Mandatory columns are:
ProbeName
:Character strings. Typicaly the probe ids.
ChrNum
:numeric. The chromosome numbers. In case Chr X and Y are used and named
as "X"
and "Y"
, these notations will be converted into
23 and 24, respectively.
ChrStart
:numeric. The chromosomal probes locations.
Log2Ratio
:numeric. The corresponding Log2Ratios.
An object of class "rCGH"
Frederic Commo
readAgilent
, readAffySNP6
,
readAffyCytoScan
, readAffyOncoScan
,
setInfo
, getInfo
1 2 3 | filePath <- system.file("extdata", "generic.txt.bz2", package = "rCGH")
cgh <- readGeneric(filePath, sampleName = "demo")
cgh
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.