
The function extract a subnetwork from the co-expression network
extract_subnetwork(
so,
target_gene_name = NULL,
target_gene_id = NULL,
positive = TRUE
)
an adjacency matrix of the output subnetwork
a SiFINeT object
the names of the target genes in the output network
the indices of the target genes in the output network, not used when target_gene_name is not Null
whether only positive (default) co-expressions or all co-expressions are considered in assigning edges