adjust.beta: Adjust Beta for cell mixture. Returns beta of the average...

Description Usage Arguments Value

View source: R/houseman.R

Description

For simply estimating the cell-type proportions, see estimate.cell.proportions.

Usage

1
2
adjust.beta(B, top_n = 500, mc.cores = 2, cell.coefs = NULL,
  omega.mix = NULL)

Arguments

B

matrix of beta values (n_probes * n_samples) rownames must be the illumina cg id or the chrom:position

top_n

number of probes from cell.coefs to use

mc.cores

number of cores to use for parallelization

cell.coefs

path to tab-delimited file containind DMR-probes for the cell types of interest. Ignored if omega.mix is provided. system.file("extdata", "houseman-dmrs.txt", package="celltypes450")

omega.mix

pre-specified matrix of cell-type coefficients. If not specified, this will be estimated from the data.

Value

matrix of adjusted beta values


brentp/celltypes450 documentation built on May 11, 2017, 4:48 p.m.