Closed ltosti closed 4 years ago
Hi @ltosti
You could use something like the following to add the regulon data to an anndata object:
from pyscenic.export import add_scenic_metadata
from pyscenic.cli.utils import load_signatures
sig = load_signatures('regulons.csv')
add_scenic_metadata(adata, auc_mtx, sig)
Hi @cflerin @bramvds @ghuls,
I generated a
regulons.csv
file as output of the CLIpyscenic ctx
. What would be the easiest way to import this file into the scanpy pipeline as to use theregulons
object into the functionadd_scenic_metadata(adata, auc_mtx, regulons)
?Thank you for your help!