Description Usage Arguments Value Author(s) See Also Examples
View source: R/snp.refine.boundary.R
Refine the segment boundaries based on the grid of heterozygous probes by all probes with LRR data. We do not recommend to perform this step except in the case that the segment boundaries need to be aligned well on the same grid of probes for downstream analysis.
1 | snp.refine.boundary(data, segs.stat)
|
data |
a data frame containing log2ratio and log2mBAF data generated
by |
segs.stat |
a data frame containing segment locations and summary statistics
resulting from |
A data frame with the same columns as the one generated by
cnv.call
with the columns posStart
,
posEnd
, length
, chrIdxStart
,
chrIdxEnd
and numProbe
updated accordingly.
Zhongyang Zhang <zhongyang.zhang@mssm.edu>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
## download snp.data.RData
url <- "https://zhangz05.u.hpc.mssm.edu/saasCNV/data/snp.data.RData"
tryCatch({download.file(url=url, destfile="snp.data.RData")
}, error = function(e) {
download.file(url=url, destfile="snp.data.RData", method="curl")
})
## If download.file fails to download the data, please manually download it from the url.
load("snp.data.RData")
data(snp.cnv)
snp.cnv.refine <- snp.refine.boundary(data=snp.data, segs.stat=snp.cnv)
## End(Not run)
## how the results look like
data(snp.cnv.refine)
head(snp.cnv.refine)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.