R/helpers.R
top_differential_markers.SingleCellExperiment.Rd
Retrieve Top differential markers
top_differential_markers.SingleCellExperiment( scExp, IDC_DA_list, top = 1, gene_col = "Gene", pseudogene_pattern = "Rik|Vmn|Gm|AW", distanceToTSS = 1000 )
scExp | A SingleCellExperiment object |
---|---|
IDC_DA_list | A list of data.frame of differential features at each
clustering iteration produced by |
top | An integer specifying the number of top features to retrieve per cluster. |
gene_col | A character specifying the column in which to retrieve the gene / feature name. |
pseudogene_pattern | A character specifying the pattern of 'pseudo-genes' to exclude from the top markers. |
distanceToTSS | An integer specifying the maximum distance to consider a feature close enough to a gene. |