as.data.frame.profileCGH: profileCGH consercion

Description Usage Arguments Details Value Note Author(s) See Also Examples

View source: R/as.profileCGH.R

Description

Convert a profileCGH object into a data.frame.

Usage

1
2
## S3 method for class 'profileCGH'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)

Arguments

x

The object to converted into data.frame.

row.names

NULL or a character vector giving the row names for the data frame. Missing values are not allowed.

optional

logical. If 'TRUE', setting row names and converting column names (to syntactic names) is optional.

...

...

Details

The attributes profileValues and profileValuesNA are binded into a data.frame.

Value

A data.frame object

Note

People interested in tools dealing with array CGH analysis can visit our web-page http://bioinfo.curie.fr.

Author(s)

Philippe Hupé, glad@curie.fr

See Also

as.profileCGH

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
data(snijders)

### Creation of "profileCGH" object
profileCGH <- as.profileCGH(gm13330)



###########################################################
###
###  glad function as described in Hupé et al. (2004)
###
###########################################################


res <- glad(profileCGH, mediancenter=FALSE,
                smoothfunc="lawsglad", bandwidth=10, round=2,
                model="Gaussian", lkern="Exponential", qlambda=0.999,
                base=FALSE,
                lambdabreak=8, lambdacluster=8, lambdaclusterGen=40,
                type="tricubic", param=c(d=6),
                alpha=0.001, msize=5,
                method="centroid", nmax=8,
                verbose=FALSE)


res <- as.data.frame(res)

GLAD documentation built on Nov. 8, 2020, 11:10 p.m.