batch_projection: batch projection of data in siRNA files to classification...

Description Usage Arguments Value

Description

This function projects data in multiple data files to the dreiction of classification boundray identified in SVM()

Usage

1
batch_projection(directory, index, center, std, weight)

Arguments

directory

Directory of the folder that contains all data files to be projected

index

A vector of index for features to be used for projection

center

Center of typical cells, outputs of SVM()

std

Standard deviations of typical cells, outputs of SVM()

weights

Weights of each feature (i.e. direction of the classification boundary), outputs of SVM()

Value

percentages A vector of percentage of cells with positive projection for each data file

cell.counts A vector of cell numbers in each data file

names A vector of names for each data file


aspen-shen/RefCells documentation built on May 17, 2019, 2:49 p.m.