gene_fdrtest: Use local false discovery rate for the detection of genes...

Description Usage Arguments Value Examples

Description

This function use locfdr function to calculate fdr_result

Usage

1
  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

fdr$name

all gene id

fdr$fdr

fdr value for gene

Examples

1
2
3
4
5
6
7
8
## 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)

yycode/DNLC documentation built on May 4, 2019, 7:47 p.m.