extract_subnetwork {SiFINeT}R Documentation

extract_subnetwork

Description

The function extract a subnetwork from the co-expression network

Usage

extract_subnetwork(
  so,
  target_gene_name = NULL,
  target_gene_id = NULL,
  positive = TRUE
)

Arguments

so

a SiFINeT object

target_gene_name

the names of the target genes in the output network

target_gene_id

the indices of the target genes in the output network, not used when target_gene_name is not Null

positive

whether only positive (default) co-expressions or all co-expressions are considered in assigning edges

Value

an adjacency matrix of the output subnetwork


[Package SiFINeT version 1.13 Index]