Description Usage Arguments Value Author(s) See Also Examples
This function estimates false discovery rate (FDR) of CNV log2-ratio values, with given Null distribution model returned by fitNullModel
1 2 | estimateFDR(data.name, null.model,
FDR.type = "q.value", is.plot = FALSE)
|
data.name |
an object of |
null.model |
a list of Null distribution model returned by |
FDR.type |
"q.value" or "localFDR" |
is.plot |
logical, whether intermediate plots are generated |
an object of PatCNVData-class
, with FDR results computed
Chen Wang
compute CNV log2-ratio values of multiple samples computeMultiCNV
1 2 3 4 5 6 7 8 9 10 | #=== load simulated data with pre-computed coverage and CNV
data(sim.cnvData)
#=== fit null distribution of CNV signals and plot distribution
null.model <- fitNullModel(sim.cnvData, "all")
germline.data <- estimateFDR(sim.cnvData, null.model)
#=== plot distribution of FDR of sample "n2"
hist(fdrMatrix(germline.data,"n2"), xlab="FDR",
main="FDR distribution of sample n2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.