Skip to content

Simulate pseudo-bulk RNAseq samples from scRNAseq expression data

License

Notifications You must be signed in to change notification settings

jonathanspeh/SimBu

 
 

Repository files navigation

SimBu

tests license docs Codecov test coverage

The goal of SimBu is to simulate pseudo-bulk RNAseq datasets with variable cell-type fractions baed on public or private single-cell RNAseq datasets.

Installation

To install the developmental version of the package, run:

install.packages("devtools")
devtools::install_github("omnideconv/SimBu")

To install from Bioconductor:

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

BiocManager::install("SimBu")

Usage

Create a dataset-object with local data and simulate a pseudo-bulk dataset

library(SimBu)
# use local data to build dataset
dataset <- dataset(annotation = annotation_dataframe, count_matrix = expression_matrix, name = "test_dataset")
simulation <- simulate_bulk(data = dataset, scenario = "random", scaling_factor = "NONE")

For more detailed usage instructions, check out Getting started.

You can find more information on the simulation setup and mRNA bias in our SimBu preprint.

About

Simulate pseudo-bulk RNAseq samples from scRNAseq expression data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 95.0%
  • TeX 4.9%
  • Shell 0.1%