SemisupervisedTransformBulk: Transforms bulk expression of a gene using only single-cell...

Description Usage Arguments Value

View source: R/reference_based.R

Description

For a specific gene, this function learns a transformation of the bulk expression to match the distribution produced by the single-cell based reference and observed single-cell based cell proportions.

Usage

1
SemisupervisedTransformBulk(gene, Y.train, X.pred)

Arguments

gene

Character string. Gene name that corresponds to row in Y.train

Y.train

Numeric Matrix. Number of gene rows by number of overlapping individuals columns. Contains weighted sum of reference profile by single-cell based cell proportion estimates for each individual

X.pred

Numeric Matrix. Number of gene rows by number of remaining individuals columns. Contains observed bulk expression for each individual to be transformed.

Value

Y.pred Numeric Matrix. One row for given gene by number of remaining individuals columns. Contains transformed bulk expression for each individual.


BisqueRNA documentation built on May 24, 2021, 1:06 a.m.