Select genes correlated with spatial patterns
selectPatternGenes(
spatPatObj,
dimensions = 1:5,
top_pos_genes = 10,
top_neg_genes = 10,
min_pos_cor = 0.5,
min_neg_cor = -0.5,
return_top_selection = FALSE
)
Output from detectSpatialPatterns
dimensions to identify correlated genes for.
Top positively correlated genes.
Top negatively correlated genes.
Minimum positive correlation score to include a gene.
Minimum negative correlation score to include a gene.
only return selection based on correlation criteria (boolean)
Data.table with genes associated with selected dimension (PC).
Description.