Code Monkey home page Code Monkey logo

hilda's Introduction

HiLDA: "Hierarchical Latent Dirichlet Allocation"

Introduction

The R package HiLDA is developed under the Bayesian framework to allow statistically testing whether there is a change in the mutation burdens of mutation signatures between two groups. The mutation signature is defined based on the independent model proposed by Shiraishi's et al.

Paper

  • Yang Z, Pandey P, Shibata D, Conti DV, Marjoram P, Siegmund KD. 2019. HiLDA: a statistical approach to investigate differences in mutational signatures. PeerJ 7:e7557 https://doi.org/10.7717/peerj.7557

Installation

Now you can download the pacakge from Bioconductor https://bioconductor.org/packages/devel/bioc/html/HiLDA.html

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

# The following initializes usage of Bioc devel
BiocManager::install(version='devel')

BiocManager::install("HiLDA")

Documentation

To view documentation for the version of this package installed in your system, start R and enter:

browseVignettes("HiLDA")

An introduction to HiLDA

Tutorials: https://bioconductor.org/packages/devel/bioc/vignettes/HiLDA/inst/doc/HiLDA.html

R Scripts: https://bioconductor.org/packages/devel/bioc/vignettes/HiLDA/inst/doc/HiLDA.R

Funding

This work was supported by NCI grant numbers 5P30 CA014089 and P01 CA196569.

hilda's People

Contributors

gvegayon avatar nturaga avatar zhiiiyang avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

hilda's Issues

Unable to run tutorial with 3 bases with esophageal and simulated data

Hello Zhi,

I am trying to run the HiLDA tutorial provided with 3 flanking bases instead of 5 bases on your simulated data and esophageal data. This is the code that I ran (for the simulated data, I aggregated the 5-base counts and features to 3-base):

# HiLDA simulated data
set.seed(123)
## Run hildaTest with 3-base (aggregated simulated data)
hildaGlobal <- hildaTest(inputG=newG, numSig=3, localTest=FALSE, refGroup=1:4, nIter=1000)

# Espohageal data
inputFile <- system.file("extdata/esophageal.mp.txt.gz", package="HiLDA")
G <- hildaReadMPFile(inputFile, numBases=3, trDir=TRUE)
hildaGlobal <- hildaTest(inputG=G, numSig=4, localTest=FALSE, refGroup=1:60, nIter=1000)

Both running these codes gives me errors while running JAGS:
Error in update.jags(object, n.iter, ...) : Error in node sCat1[4,76] Cannot normalize density

Error in update.jags(object, n.iter, ...) : Error in node sCat1[60,187] Cannot normalize density

Would you have any suggestions as to what might be going wrong here?

Best,
Ji-Eun

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.