scglue.genomics.read_ctx_grn

scglue.genomics.read_ctx_grn(file)[source]

Read pruned TF-target GRN as generated by pyscenic ctx

Parameters:

file (os.PathLike) – Input file (.csv)

Return type:

DiGraph

Returns:

grn – Pruned TF-target GRN

Note

Node attribute “type” can be used to distinguish TFs and genes