R/spatial_genes.R
getBalancedSpatCoexpressionFeats.Rd
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
)
balanced vector with features for each co-expression module
There are 3 different ways of selecting features from the spatial co-expression modules
weighted: Features are ranked based on summarized pairwise co-expression scores
random: A random selection of features, set seed for reproducibility
informed: Features are selected based on prior information/ranking