generate_final_df: generate_final_df function to generate the final df of scores...

Description Usage Arguments Value Examples

View source: R/gen_weights_edges.R

Description

generate_final_df

function to generate the final df of scores based on the weights of edges generated by the generate_df_scores_ff() function. It is called automatically by the geNet() function

Usage

1
generate_final_df(binary_matrix, n_cores = 1, test = "cor_test")

Arguments

binary_matrix

binary matrix of presence/absences genes

n_cores

number of cores to use. Default to 1.

test

significance test to use.

  • cor_test: use Pearson correlation test approach (faster)

  • chisquare: use chi-square test approach (slower)

Value

Object of class "ffdf" containing the connections between the nodes and relative weights

Examples

1
## Not run: generate_final_df(binary_matrix,progress=F,n_cores=1,test="cor_test")

haneylab/geNet documentation built on Oct. 4, 2020, 8:40 a.m.