match_seeds {crosstalkr} | R Documentation |
Identify random sets of seeds with similar degree distribution to parent seed proteins
Description
This function will generate n character vectors of seeds to be passed to sparseRWR as part of the construction of a boostrapped null distribution for significance testing.
Usage
match_seeds(g, seed_proteins, n, set_seed = NULL)
Arguments
g |
igraph object representing the network under study. specified by "ppi" in bootstrap_null |
seed_proteins |
user defined seed proteins |
n |
number of random walks with repeats to create null distribution |
set_seed |
integer to set random number seed - for reproducibility |
Value
list of character vectors: randomly generated seed proteins with a similar degree distribution to parent seed proteins
[Package crosstalkr version 1.0.5 Index]