Description Usage Arguments Value Author(s) See Also Examples
This function is used to estimate false discovery date of MICC model by comparing posterior probability from real data and simulated data
1 | FDRcompute(data_formatted, params, PostProb)
|
data_formatted |
Formatted data matrix by "InputMatrixFormatted" function |
params |
Parameters after fitting MICC model. See "MICCMainLearn" for more details. |
PostProb |
Posterior probability that a PET cluster is true interaction clusters |
A vector of estimated false discovery date.
Chao He
InputMatrixFormatted
,
MICC_1.0-package
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | library(MICC)
## Import data
data(TestData)
# format the data
data_formatted <- InputMatrixFormatted(TestData)
# train the model
Par <- MICCMainLearn( data_formatted, reltol=1e-5, step=200 )
# compute FDR
params <- Par$params
PostProb <- Par$PostProb
fdr <- FDRcompute( data_formatted, params, PostProb[,1] )
## The function is currently defined as
function (data_formatted, params, PostProb)
{
fdr <- FDRestimate(data, params, PostProb)
fdr
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.