scglue.genomics.cis_regulatory_ranking
- scglue.genomics.cis_regulatory_ranking(gene2region, region2tf, genes, regions, tfs, region_lens=None, n_samples=1000, random_state=None)[源代码]
Generate cis-regulatory ranking between genes and transcription factors
- 参数:
gene2region (
Graph
) – A graph connecting genes to cis-regulatory regionsregion2tf (
Graph
) – A graph connecting cis-regulatory regions to transcription factorsgenes (
typing.List
[str
]) – A list of genestfs (
typing.List
[str
]) – A list of transcription factorsregions (
typing.List
[str
]) – A list of cis-regulatory regionsregion_lens (
typing.Optional
[typing.List
[int
]]) – Lengths of cis-regulatory regions (if not provided, it is assumed that all regions have the same length)n_samples (
int
) – Number of random samples used to evaluate regulatory enrichment (setting this to 0 disables enrichment evaluation)random_state (
typing.Union
[RandomState
,int
,None
]) – 随机状态
- 返回类型:
- 返回:
gene2tf_rank – Cis regulatory ranking between genes and transcription factors