Description Usage Arguments Value Examples
A tool of dimension reduction for scRNA-seq data combined with multiple gene networks embedding model
1 | scLINE(mat, network, L, K = 5, T, rho = 0.025, Random_weight)
|
mat |
A matrix of scRNA-seq data in which rows represent gene columns representing cells |
network |
A list of gene networks with 3 columns: geneID, geneID, score |
L |
Dim of the low-dimensional representations |
K |
Number of negative samples, the default is 5 |
T |
Number of iterations |
rho |
The initial learning rate, the default is 0.025 |
Random_weight |
True of False,Whether to add random weights to the network model |
the low-dimensional matrix of input data
1 2 3 4 5 6 | load(system.file("data","Usoskin.Rdata",package = "scLINE"))
load(system.file("data","ppi.Rdata",package = "scLINE"))
load(system.file("data","humannet.Rdata",package = "scLINE"))
exp_mat<-Usoskin$rawdata
gene_network<-list(ppi = ppi,humannet = humannet)
lowdim_list<-scLINE(exp_mat, gene_network, L = 20, K = 5, T = 1e7, rho = 0.025, Random_weight = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.