scglue.genomics.write_links
- scglue.genomics.write_links(graph, source, target, file, keep_attrs=None)[源代码]
Export regulatory graph into a links file
- 参数:
graph (
Graph
) – Regulatory graphsource (
scglue.genomics.Bed
) – Genomic coordinates of source nodestarget (
scglue.genomics.Bed
) – Genomic coordinates of target nodesfile (
os.PathLike
) – Output filekeep_attrs (
typing.Optional
[typing.List
[str
]]) – A list of attributes to keep for each link
- 返回类型: