dataSummary: Summarization of the detection results for a list of...

Description Usage Arguments Author(s) References Examples

Description

From an outpout object of the function fcrosMod() or pfcoMod(), the chromosomes information object, the list of chromosomes and a threshold, this function creates two objects containing ordered chromosome data and summary results.

Usage

1
dataSummary(af, xinfo, chromosomes = c(1:22,"X","Y"), alpha = 0.05)

Arguments

af

An output object of the function fcrosMod() or pfcoMod():
af = fcrosMod(xdata, samp, log2.opt, trim.opt)
af = pfcoMod(xdata, samp, log2.opt, trim.opt)

xinfo

A data frame containing chromosomes information (probe name, gene symbol, chromosome index, start position, end position and the cytoband). These information should appear with the labels ProbeName, GeneSymbol, Chromosome, Start, End, Cytoband. Additional information may be used. Only labels Chromosome, Start and End are mandotory.

chromosomes

A list of chromosomes. Default setting is a list with all chromosomes:
chromosomes = (1:22,"X","Y")

alpha

A threshold allowing to select significant probes based on probabilities. Default setting is 0.05 (5% of error) thr = 0.05

Author(s)

Doulaye Dembele doulaye@igbmc.fr

References

Dembele D, Analysis of high biological data using their rank values, Stat Methods Med Res, accepted for publication, 2018

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
    # load CGH data and info files
    data(cghData)
    rownames(cghData) <- cghData[,1]
    data(cghInfo)
    noms <- colnames(cghData)
    m <- length(noms)
    samp  <- noms[2:m]

    # associate statistics with probes in the dataset
    af <- pfcoMod(cghData, samp, log2.opt = 0, trim.opt = 0.25)

    chromosomes = c(7:9)
    alpha <- 0.05

    # summarize results for each chromosome
    xinfo2 <- dataSummary(af, cghInfo, chromosomes, alpha)

    # display the number of significant probes for each chromosome
    xinfo2$chrSumm

fcros documentation built on May 31, 2019, 5:03 p.m.