inference_tflow: EM inference with tensorflow

Description Usage Arguments Value

View source: R/inference-tflow.R

Description

EM inference with tensorflow

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
inference_tflow(
  Y_dat,
  L_dat,
  max_iter = 100,
  rel_tol = 1e-05,
  learning_rate = 0.1,
  gene_filter_threshold = 0,
  x = NULL,
  clone_allele = NULL,
  cov = NULL,
  ref = NULL,
  fix_alpha = FALSE,
  dtype = c("float32", "float64"),
  saturate = TRUE,
  saturation_threshold = 6,
  K = 1,
  mc_samples = 1,
  verbose = TRUE,
  initial_shrink = 5,
  data_init_mu = data_init_mu
)

Arguments

Y_dat

Cell by gene matrix of counts

L_dat

Gene by clone matrix of copy number

Value

A list of maximum likelihood parameter estimates and log likelihood values


kieranrcampbell/clonealign documentation built on Dec. 18, 2020, 3:49 a.m.