SemisupervisedTransformBulk {BisqueRNA} | R Documentation |
Transforms bulk expression of a gene using only single-cell data
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
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.