Comments (1)
Dear Joe,
Thank you for your questions.
Regarding your first question, pySCENIC adheres to the same maxim "one TF - one regulon". Maybe you are referring to the results you get after running the command line version of pyscenic (or using the function pyscenic.prune2df
)? This table gives you multiple enriched motifs (and their associated target genes) for a transcription factor. You need to apply the function transform.df2regulons
to combine them into regulons. You can also use the command line version setting --output_type
to json
. Hope this helps.
This code snippet might also help to transform the CSV output to regulon objects in python.
import os
from pyscenic.utils import load_motifs
from pyscenic.transform import df2regulons
RESOURCES_FOLDER = "/resources/zeisel_et_al/"
MOTIFS_FNAME = os.path.join(RESOURCES_FOLDER, "zeisel_et_al.motifs.csv")
motifs = load_motifs(MOTIFS_FNAME)
regulons = df2regulons(motifs)
For the second question, I kindly request you to best this question on the arboreto package (https://github.com/tmoerman/arboreto). pySCENIC relies on this package for GRNBoost2. GENIE3 and GRNBoost2 both implement a tree-based regression per target gene approach. GENIE3 relies on Random Forests while GRNBoost2 uses Gradient Boosted Trees. For more information on the 'variable importance measure' I kindly refer you to the eponymous section in: Huynh-Thu, V. A., Irrthum, A., Wehenkel, L. & Geurts, P. Inferring regulatory networks from expression data using tree-based methods. PLoS ONE 5, (2010). The manuscript that covers GRNBoost2 has recently been published in Bioinformatics: Moerman, T. et al. GRNBoost2 and Arboreto: efficient and scalable inference of gene regulatory networks. Bioinformatics (2018). doi:10.1093/bioinformatics/bty916
Kindest regards,
Bram
from pyscenic.
Related Issues (20)
- CTX running infinitely long. Defunct child processes HOT 1
- [feature request] modules_from_adjacencies don't support csr matrix
- Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process. HOT 2
- [question] Can use `xgboost` or `lightgbm`
- prune2df fails with TypeError: object of type 'generator' has no len() [BUG] HOT 2
- [BUG] Encoding Argument While Loading Pickle File Produces Error in pyscenic aucell
- Expression matrix should be provided in the loom file format.[BUG] HOT 2
- TypeError("Must supply at least one delayed object") HOT 3
- ctx pyscenic Error HOT 1
- [BUG]concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruy while the future was running or pending. HOT 1
- [ERROR] in running Pyscenic GRN grnboost2 HOT 2
- ERROR - Error in Nanny killing Worker subprocess HOT 1
- [BUG] run in pyscenic grn HOT 7
- [BUG]pyscenic grn ERR when running on HPC with slurm HOT 5
- [BUG] grnboost2 TypeError: Must supply at least one delayed object HOT 3
- Joint analysis of cell and nuclear data
- [BUG] empty adjacencies file when running pyscenic grn via docker
- arboreto_with_multiprocessing.py fails for every target HOT 1
- [BUG] typeerro when import scanpy with pyscenic in conda
- IDs for TFs missing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyscenic.