quick_training: quick_training

Description Usage Arguments Value Examples

View source: R/CoreMethods.R

Description

quick traing of zero-shot-learing (ZSL)

Usage

1
quick_training(input_var, name, tissue)

Arguments

input_var

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

name

any name that user wants for the result

tissue

tissue of the sample (please make sure the word of tissue must be same as pre-existing tissue list. If it is new tissue type, it doesn't matter)

  • Mouse: Aorta, Brain, Diaphragm, Fat, Heart, Kidney, LargeIntestine, LimbMuscle, Liver, Lung, MammaryGland, Marrow, Pancreas, Skin, Spleen, Thymus, Tongue, Trachea

Value

an attribute for ZSL (trained data in julia object)

Examples

1
2
3
4
att_heart <- quick_training(matrix, "single-cell", "Heart")
att_lung <- quick_training(matrix, "single-cell", "Lung")
att_set <- make_attribute_set(att_heart)
att_set <- add_attribute_set(att_lung, att_set)

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