Description Usage Arguments Value Author(s) See Also Examples
This function fits null distribution of copy number variation signals, according to given reference/normal samples. The underlying assumption is reference/normal samples have very few number of CNV events, comparing to case/disease samples.
1 | fitNullModel(refdata.name, type = "autosome", is.plot = FALSE, capture.only = TRUE)
|
refdata.name |
an object of |
type |
a character of either "autosome" or "all" to indicate if CNV signals of chr1-22 or all of the chromosomes are used for fitting Null distribution |
is.plot |
a logical value indicating if the null distribution is plotted |
capture.only |
a logical value indicating if only captured exons should be considered |
This function returns a list of null distribution model that is used by estimateFDR
Chen Wang
1 2 3 4 5 | #=== load simulated data with pre-computed coverage and CNV
data(sim.cnvData)
#=== fit null distribution of CNV signals and plot distribution of CNV signals (log2ratio)
null.model <- fitNullModel(sim.cnvData,"all",TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.