Coder Social home page Coder Social logo

jyyulab / netbid Goto Github PK

View Code? Open in Web Editor NEW
41.0 7.0 9.0 368.67 MB

Data-driven Network-based Bayesian Inference of Drivers

Home Page: https://jyyulab.github.io/NetBID/

License: Apache License 2.0

R 98.86% Dockerfile 0.36% Shell 0.01% Common Workflow Language 0.76%
bayesian-inference network-analysis rna-seq-analysis scrna-seq-analysis r-package

netbid's People

Contributors

adamdingliang avatar adthrasher avatar jordan-rash avatar jyyu avatar leiyan avatar sherrydong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

netbid's Issues

ERROR

I checked my data and there is no na/nan. However, it still report the error in draw.emb.kmeans ,as following:
Error in quantile.default(as.numeric(x), c(0.25, 0.75), na.rm = na.rm, :
missing values and NaN's not allowed if 'na.rm' is FALSE

Xnip2023-02-07_22-10-12

Update get_IDtransfer() function

Hi Sherry,

We need to update the get_IDtransfer() function to include an argument useCache = F within getBM() function from biomart. I have attached a working version of the modified function, can you please update the function and release it with new netbid2. Thanks!.

-Yogesh
get_IDtransfer.txt

draw.GSEA.NetBID() has a bug

In the rare cases when there is a driver which we have DA values for, but whose corresponding gene was not in the expression matrix (resulting in NA values in the DE columns), the draw.GSEA.NetBID() function glitches. It does not cause a visible error, but the plot will display incorrect DE p-values in the DE column. I assume this is due to the NA values being ignored, so the ordering of the DE genes/DA drivers gets thrown out of alignment.

draw.eset.QC fails with following error

Quitting from lines 75-91 (afterQC_filt0.5_PDX80QC.Rmd)
Error in apply(s1, 1, min) : dim(X) must have a positive length
In addition: Warning message:
In dir.create(outdir, recursive = TRUE) :

Error in apply(s1, 1, min) : dim(X) must have a positive length

Error in draw.bubblePlot(if set driver_number > 15)

draw.bubblePlot(driver_list= driver_list,show_label=ms_tab[driver_list,'gene_label'],
Z_val=ms_tab[driver_list,sprintf('Z.%s_DA',comp_name)],
driver_type=ms_tab[driver_list,'gene_biotype'],
target_list=analysis.par$merge.network$target_list,transfer2symbol2type=transfer_tab,
bg_list=ms_tab[,'geneSymbol'],min_gs_size=5,max_gs_size=500,use_gs="all",
top_geneset_number=15,top_driver_number=20,
pdf_file = sprintf('%s/bubblePlot2.pdf',analysis.par$out.dir.PLOT),
main='Bubbleplot for top driver targets')

“Error in xy.coords(x, y) : 'x' and 'y' lengths differ”

when I set up draw.bubblePlot>15, draw.bubblePlot will results in an error that show “Error in xy.coords(x, y) : 'x' and 'y' lengths differ”

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.