Extract features from spatial co-expression modules in a balanced manner
getBalancedSpatCoexpressionFeats(
spatCorObject,
maximum = 50,
rank = c("weighted", "random", "informed"),
informed_ranking = NULL,
seed = NA,
verbose = TRUE
)
spatial correlation object
maximum number of genes to get from each spatial co-expression module
ranking method (see details)
vector of ranked features
seed
verbosity
balanced vector with features for each co-expression module
There are 3 different ways of selecting features from the spatial co-expression modules
1. weighted: Features are ranked based on summarized pairwise co-expression scores
2. random: A random selection of features, set seed for reproducibility
3. informed: Features are selected based on prior information/ranking