Description Usage Arguments Value Author(s) Examples
View source: R/mixing_matrix_computation.R
Calculate the mixing matrix based on the output from marker_gene_selection(), and scale the mixing matrix to make the sum of proportions from tumor and stroma equal to 1. The pure expression levels of tumor and stroma are also computed.
| 1 | mixing_matrix_computation(X, a1, a2, dimenMatrix)
 | 
| X | Gene expression data matrix | 
| a1 | The slope of marker genes in source 1 | 
| a2 | The slope of marker genes in source 2 | 
| dimenMatrix | The dimention reduction matrix used to recover mixing matrix for all the samples | 
| Aest | estimated mixing matrix | 
| Sest | estimated pure gene expression of two sources | 
Niya Wang (wangny@vt.edu)
| 1 2 3 4 5 | 
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:parallel':
    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from 'package:stats':
    IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
    Filter, Find, Map, Position, Reduce, anyDuplicated, append,
    as.data.frame, basename, cbind, colMeans, colSums, colnames,
    dirname, do.call, duplicated, eval, evalq, get, grep, grepl,
    intersect, is.unsorted, lapply, lengths, mapply, match, mget,
    order, paste, pmax, pmax.int, pmin, pmin.int, rank, rbind,
    rowMeans, rowSums, rownames, sapply, setdiff, sort, table, tapply,
    union, unique, unsplit, which, which.max, which.min
Loading required package: Biobase
Welcome to Bioconductor
    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.