CNA.MCMC: MCMC segmentation.

View source: R/CNA.MCMC.R

CNA.MCMCR Documentation

MCMC segmentation.

Description

MCMC segmentation.

Usage

CNA.MCMC(clu, fttmat, bins, cut.cor, n.cores)

Arguments

clu

predefined clusters of cells.

fttmat

transformed normalized data matrix; genes in rows; cell names in columns.

bins

minimal number of bins per segment.

cut.cor

minimal KS difference to call breakpoints.

n.cores

number of cores for parallel computing.

sam.name

given sample name.

Value

1) segmented CNA data matrix; 2) vector of breakpoints.

Examples

test.mcmc <- CNA.MCMC(clu,fttmat, bins, cut.cor, n.cores=10)

test.mcmc.seg.mat <- test.mamc$logCNA

navinlabcode/copykat documentation built on June 29, 2024, 2:31 a.m.