Description Usage Arguments Details Value Examples
cal_lmi_data()
will calculate the local moran's I data for a input igraph object and gene expression data matrix.
1 | cal_lmi_data(gene_expr, gene_graph)
|
gene_expr |
Expression for genes. Each row is a gene, and each column is a sample. |
gene_graph |
The graph of gene network. |
cal_lmi_data()
will calculate the local moran's I matrix for a input igraph object and gene expression data matrix. The function will return a matrix in the same dimension of the input gene expression matrix. Every gene x's lmi data takes a row.
A table of local moran's I data. Row name is gene id. Each row stands for the local moran's I data of gene x. Each column stands for a sample.
1 2 3 4 5 6 7 8 | ## Not run:
simulation <- init_simulation_gene_net()
lmi_data = cal_lmi_data( simulation$gene_expr, simulation$gene_graph)
t_data = DNLC_statistics(simulation$gene_graph, simulation$gene_expr,
simulation$patient_matrix, lmi_data = lmi_data)
fdr_result <- gene_fdrtest(t_data)
sig_genes <- significant_genes(fdr_obj = fdr_result, thres = 0.2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.