generate_sideinformation: generate_sideinformation

Description Usage Arguments Value Examples

View source: R/CoreMethods.R

Description

generation of side-information from expression or peak matrix

Usage

1
generate_sideinformation(Side_mat, Cellnames, Sdim = 200)

Arguments

Side_mat

matrix class composed of gene/peak_location(row)-by-cell(column)
- same as result of importdata or convert_seurat

Sdim

the size of side-information for each cell type

cellnames

cell name of Side_mat (column name)

Value

a side-information which could be directly used in create_siganture or create_attribute with w2v_index = FALSE (julia_object)

Examples

1
2
3
d <- make_input(input_var)
s <- generate_sideinformation(d$norm_matrix, d$cellname)
- result should be directly used with w2v_index = FALSE

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