simData_3data: simData_3data

Description Usage Arguments Value Author(s)

View source: R/Oct15_complicated_w_prior_acc_met_logit_nonlinear_h1h0_no_rna_vtilde_all_link_simu.R

Description

Generate simulation data $\boldsymbol x$, $\boldsymbol y$ and $\boldsymbol z$.

Usage

1
2
3
4
simData_3data(n1, n2, n3, p, Xprobs1, Xprobs2, Xprobs3,
                           shape_rna, scale_rna, shape_met1, shape_met2,
                           qi,pi_rna,pi_met,cutoff=10^-6,
                           alpha1,beta1,phi_1,phi_2,omega,prop)

Arguments

n1

sample size of data type $\boldsymbol x$.

n2

sample size of data type $\boldsymbol y$.

n3

sample size of data type $\boldsymbol z$.

p

number of features.

Xprobs1

prior probability of k clusters in data type $\boldsymbol x$.

Xprobs2

prior probability of k clusters in data type $\boldsymbol y$.

Xprobs3

prior probability of k clusters in data type $\boldsymbol z$.

shape_rna

shape parameter in data type $\boldsymbol y$ gamma mixture distribution.

scale_rna

scale parameter in data type $\boldsymbol y$ gamma mixture distribution.

shape_met1

shape 1 parameter in data type $\boldsymbol z$ beta mixture distribution.

shape_met2

shape 2 parameter in data type $\boldsymbol z$ beta mixture distribution.

qi

the probability that scCAS data has high gene score when gene g is active in cell i (i.e. pi_i1).

Value

Simulation data $\boldsymbol x$, $\boldsymbol y$ and $\boldsymbol z$ and parameters.

Author(s)

Jiaxuan WANGWU


cuhklinlab/scAMACE documentation built on Dec. 19, 2021, 7:03 p.m.