| GetFractions.Abbas | R Documentation |
Implements a constrained regression approach described by Abbas et al. (2009). Estimates proportions of immune cell types within mixed cancer tissue samples based on gene expression data. Iteratively adjusts regression coefficients to ensure non-negative values.
GetFractions.Abbas(XX, YY, w = NA)
XX |
Matrix. Immune expression data with genes as rows and cell types as columns. |
YY |
Vector. Cancer expression data with gene expression levels. |
w |
Vector or NA. Weights for regression. Default is NA (no weights). |
Vector with non-negative coefficients representing proportions of each cell type.
XX <- matrix(runif(100), nrow = 10, ncol = 10)
colnames(XX) <- paste("CellType", 1:10, sep = "")
YY <- runif(10)
results <- GetFractions.Abbas(XX, YY)
print(results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.