Calculate gene rank

calculate_gene_rank(object, ...)

# S4 method for class 'Network'
calculate_gene_rank(
  object,
  regulators = NULL,
  targets = NULL,
  directed = FALSE,
  method = c("page_rank", "degree_distribution"),
  ...
)

# S4 method for class 'data.frame'
calculate_gene_rank(
  object,
  regulators = NULL,
  targets = NULL,
  directed = FALSE,
  method = c("page_rank", "degree_distribution"),
  ...
)

Arguments

object

Network object

...

Additional arguments

regulators

Character vector, regulators to include

targets

Character vector, targets to include

directed

Logical, whether the network is directed

method

Character, ranking method: "page_rank" or "degree_distribution"

Value

Data frame with gene ranks