add_attribute_set: add_attribute_set

Description Usage Arguments Value Examples

View source: R/CoreMethods.R

Description

adding attribute object into attribute set

Usage

1
add_attribute_set(attribute, iscell)

Arguments

attribute

julia object of attribute (the result of create_attribute or quick_training)

iscell

pre-existing attribute set (the result of make_attribute_set)

Value

merged attribute set

Examples

1
2
3
4
5
6
7
d <- make_input(matrix, train = TRUE)
w2v <- make_w2v("Pubmed_index")
annot <- make_cellontology("cell ontology file")
stopwords <- make_stopwords(stopwords)
att <- create_attribute("user", "Heart", d$norm_matirx, d$rowname, d$cellname, annot, "cell_ontology", w2v_index = TRUE)
att_set <- add_attribute_set(att, att_set)
- att_set: pre-existing attribute-set

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