Description Usage Arguments Value References See Also Examples
Export information about altered segments to BED format
1 | exportToBED(x, num=300, strand="+", col.gain="0,255,255", col.loss="255,0,0", file="BED.txt")
|
x |
An object of class 'summaryparGADA' |
num |
Number that goes to the score number |
strand |
What to put on the strand field (default "+") |
col.gain |
Color of the bed element for copy number gain (default "0,255,255") |
col.loss |
Color of the bed element for copy number loss (default "255,0,0") |
file |
The name of the file to be saved. The default is 'BED.txt' |
No return value, just a file is produced
Pique-Regi R, Caceres A, Gonzalez JR. "R-Gada: a package for fast detection and visualization of copy number alterations on multiple samples", BMC Bioinformatics , Submitted Nov 2009
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 27 28 29 30 31 32 33 34 | ## Not run:
###
### First step (required)
###
# Read data
# a folder called rawData containing a file for each individual is required
# Illumina data
myExample<-setupParGADAIllumina(log2ratioCol=4, NumCols=5)
# Affymetrix data
myExample<-setupParGADAaffy(log2ratioCol=4, NumCols=5)
###
### Second step
###
# segmentation for all samples
parSBL(myExample, estim.sigma2=TRUE, aAlpha=0.8)
parBE(myExample,T=8, MinSegLen=8)
###
### Third step
###
# summaryze all samples
allSamples<-summary(myExample)
# export to BED
exportToBED(allSamples)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.