|
a |
|
b/man/run_scAI.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/scAI_model.R |
|
|
3 |
\name{run_scAI} |
|
|
4 |
\alias{run_scAI} |
|
|
5 |
\title{run scAI model} |
|
|
6 |
\usage{ |
|
|
7 |
run_scAI( |
|
|
8 |
object, |
|
|
9 |
K, |
|
|
10 |
do.fast = FALSE, |
|
|
11 |
nrun = 5L, |
|
|
12 |
hvg.use1 = FALSE, |
|
|
13 |
hvg.use2 = FALSE, |
|
|
14 |
keep_all = F, |
|
|
15 |
s = 0.25, |
|
|
16 |
alpha = 1, |
|
|
17 |
lambda = 1e+05, |
|
|
18 |
gamma = 1, |
|
|
19 |
maxIter = 500L, |
|
|
20 |
stop_rule = 1L, |
|
|
21 |
init = NULL, |
|
|
22 |
rand.seed = 1L |
|
|
23 |
) |
|
|
24 |
} |
|
|
25 |
\arguments{ |
|
|
26 |
\item{object}{scAI object} |
|
|
27 |
|
|
|
28 |
\item{K}{An integer indicating the Rank of the inferred factor} |
|
|
29 |
|
|
|
30 |
\item{do.fast}{whether use the python version for running scAI optimization model} |
|
|
31 |
|
|
|
32 |
\item{nrun}{Number of times to repreat the running} |
|
|
33 |
|
|
|
34 |
\item{hvg.use1}{whether use high variable genes for RNA-seq data} |
|
|
35 |
|
|
|
36 |
\item{hvg.use2}{whether use high variable genes for ATAC-seq data} |
|
|
37 |
|
|
|
38 |
\item{keep_all}{Whether keep all the results from multiple runs} |
|
|
39 |
|
|
|
40 |
\item{s}{Probability of Bernoulli distribution} |
|
|
41 |
|
|
|
42 |
\item{alpha}{model parameter} |
|
|
43 |
|
|
|
44 |
\item{lambda}{model parameter} |
|
|
45 |
|
|
|
46 |
\item{gamma}{model parameter} |
|
|
47 |
|
|
|
48 |
\item{maxIter}{An integer indicating Maximum number of iteration} |
|
|
49 |
|
|
|
50 |
\item{stop_rule}{Stop rule to be used} |
|
|
51 |
|
|
|
52 |
\item{init}{List of the initialized low-rank matrices} |
|
|
53 |
|
|
|
54 |
\item{rand.seed}{An integer indicating the seed} |
|
|
55 |
} |
|
|
56 |
\value{ |
|
|
57 |
|
|
|
58 |
} |
|
|
59 |
\description{ |
|
|
60 |
run scAI model |
|
|
61 |
} |