make_w2v_sideinfo: make_w2v_sideinfo

Description Usage Arguments Value Examples

View source: R/CoreMethods.R

Description

generating a side information of word2vec

Usage

1
2
make_w2v_sideinfo(w2v_obj, cell_ontology_obj, stopword, opt = TRUE,
  R_output = FALSE)

Arguments

w2v_obj

the result of make_w2v

cell_ontology_obj

the result of make_cellontology

stopword

the result of make_stopwords

opt

TRUE if mean value for word2vector, FALSE if max value for word2vector

Value

side information of cell_ontology in julia object

Examples

1
2
3
4
w2v <- make_w2v("Pubmed.index")
cell_ontology <- make_cellontology("cell_ontogloy_file")
stopword <- make_stopwords(stopwords)
side_info <- make_w2v_sideinfo(w2v, cell_ontology, stopword)

hemberg-lab/sctransfermap documentation built on Nov. 11, 2019, 6:23 a.m.