GithubHelp home page GithubHelp logo

leave-one-out cross validation about bisque HOT 2 CLOSED

cozygene avatar cozygene commented on September 16, 2024
leave-one-out cross validation

from bisque.

Comments (2)

brandonjew avatar brandonjew commented on September 16, 2024 1

Hi @empiricalbayes, sure thing. Please note that this is an R script, not a TXT file, so it should be renamed (made TXT to comply with attachment requirements). This script is meant to be run from the command line with a single positional argument that is an integer between 1 and 5. This argument specifies the scaling factor to simulate (one of [0, 5, 10, 15, 20]). Note that this script takes quite a long time to run with CIBERSORT and bseq-sc comparisons. If commented out, Bisque and MuSiC should complete fairly quickly.

Arguments that should be noted/edited:

  • cibersort.path is the path to the CIBERSORT.R file (retrieved by following https://shenorrlab.github.io/bseqsc/vignettes/pages/installation.html)
  • seurat.rds is an RDS file containing the single-cell/single-nuc object processed by Seurat
  • seurat.marker.rds is an RDS file containing the output of Seurat::FindAllMarkers()
  • out.prefix is the prefix for all cell composition output CSV files (it will output the ground truth as {prefix}.loo.true.csv and a file for each method, scaling factor, and replication).

Here is the script: simulation_analysis.txt

Let me know if you run into any issues!

Thanks,
Brandon

from bisque.

empiricalbayes avatar empiricalbayes commented on September 16, 2024

Many thanks @brandonjew

from bisque.

Related Issues (20)

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.