DNLC_statistics {DNLC} | R Documentation |
calculate t statistics for gene graph using DNLC method.
Description
a function to calculate t statistics for genes in the graph.
Usage
DNLC_statistics(gene_graph, gene_expr = "x", clinic_data = "y",
confounder_matrix = NULL, lmi_data = NULL)
Arguments
gene_graph |
graph of gene |
gene_expr |
expr of gene |
clinic_data |
patient data |
confounder_matrix |
other message describe clinic message |
lmi_data |
lmi data for each gene. |
Details
This function first calculates the matrix of local moran's I, and then conducts testing for the association of each gene's local moran's I with the clinical outcome variable. Clinical confounder variables such as age, gender etc can be included.
Value
all_gene_id |
gene ids in graph |
t_data |
t-data for each gene |
Examples
## 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)
[Package DNLC version 1.0.0 Index]