randomFSSEMdata | R Documentation |
randomFSSEMdata
randomFSSEMdata( n, p, k, sparse = 0.1, df = 0.2, sigma2 = 0.01, u = 5, type = c("DG", "ER"), dag = TRUE, coef = c(0.2, 0.4), nhub = 2 )
n |
number of observations |
p |
number of genes |
k |
number of eQTLs |
sparse |
ratio of edges / gene_number |
df |
ratio of differential edges among two network |
sigma2 |
noise variance of error |
u |
variance of bias in SEM model. |
type |
type of generated network, can be selected as DG, ER, Scale-free network |
dag |
network is directed-acyclic or not. Default TRUE |
coef |
Range of absolute value of coefficients in simulated network matrices. Default (0.2, 0.4), or (0.5, 1) |
nhub |
If you select to generate ER network, nhub is the number of pre-defined hub node number. Default 2 |
list of generated data
List of observed, Xs, Ys, Sk
List of model, Bs, Fs, mu, n, p, k
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.