DeconRNAseq_CRAN: DeconRNASeq CRAN compatible

DeconRNAseq_CRANR Documentation

DeconRNASeq CRAN compatible

Description

This function runs DeconRNAseq with default parameters such that it is compatible with CRAN and scMappR

Usage

DeconRNAseq_CRAN(
  datasets,
  signatures,
  proportions = NULL,
  checksig = FALSE,
  known.prop = FALSE,
  use.scale = TRUE,
  fig = FALSE
)

Arguments

datasets

Normalized RNA-seq dataset

signatures

Signature matrix of odds ratios

proportions

If cell-type proportion is already inputted - always NULL for scMappR

checksig

Check to see if plotting is significant - always false for scMappR

known.prop

If proportions were known - always false for scMappR

use.scale

Scale and center value - always TRUE for scMappR

fig

Make figures - always FALSE for scMappR

Details

This is the exact same function as the primary function in the Bioconductor package, DeconRNAseq (PMID: 23428642) except it is now compatible with CRAN packages.

Value

DeconRNAseq_CRAN Estimated cell-type proportions with DeconRNAseq.

Examples


data(PBMC_example)
bulk_DE_cors <- PBMC_example$bulk_DE_cors
bulk_normalized <- PBMC_example$bulk_normalized
odds_ratio_in <- PBMC_example$odds_ratio_in
out <- DeconRNAseq_CRAN(datasets = as.data.frame(bulk_normalized),
                       signatures = as.data.frame(odds_ratio_in))

                                      

scMappR documentation built on July 9, 2023, 6:26 p.m.