Learn R Programming

DNLC (version 1.0.0)

gene_fdrtest: Use local false discovery rate for the detection of genes with significant LMI change

Description

This function use locfdr function to calculate fdr_result

Usage

gene_fdrtest(gene.data)

Arguments

gene.data
gene_id_all: gene id t_data: t statistic for each gene

Value

return fdr_result for t_data

Examples

Run this code
## Not run: 
# simulation <- init_simulation_gene_net()
# t_data = DNLC_statistics(simulation$gene_graph, simulation$gene_expr,
#   simulation$patient_matrix, lmi_data=simulation$lmi_matrix)
# fdr_result <- gene_fdrtest(t_data)
# sig_genes <- significant_genes(fdr_obj = fdr_result, thres = 0.2)
# ## End(Not run)

Run the code above in your browser using DataLab