Returns cuts to define epochs via sliding window comparison
find_cuts_by_similarity(
matrix,
dynamic_object,
winSize = 2,
limit_to = NULL,
p_value = 0.05
)
genes-by-cells expression matrix
result of running findDynGenes or define_epochs
number of cells to each side to compare each cell to
vector of genes on which to base epoch cuts, for example, limiting to TFs
pval threshold if gene is dynamically expressed
vector of pseudotimes at which to cut data into epochs