CheckArguments_Impute: Argument check to Impute()

Description Usage Arguments Value

View source: R/Helper.R

Description

CheckArguments_Impute checks whether the arguments passed to Impute are correct.

Usage

1
2
CheckArguments_Impute(data, method.choice, do, tr.length, labels,
cell.clusters, true.zero.thr, drop_thre)

Arguments

data

matrix; raw counts (genes as rows and samples as columns)

method.choice

character; best performing method in training data for each gene

do

character; choice of methods to be used for imputation. Currently supported methods are 'Baseline', 'DrImpute', 'Network', and 'Ensemble'. Defaults to 'Ensemble'. Not case-sensitive. Can include one or more methods. Non-supported methods will be ignored.

tr.length

matrix with at least 2 columns: 'hgnc_symbol' and 'transcript_length'

labels

character; vector specifying the cell type of each column of data

cell.clusters

integer; number of cell subpopulations

true.zero.thr

if set to NULL (default), no true zero estimation is performed. Set to numeric value between 0 and 1 for estimation. Value corresponds to the threshold used to determine true zeros: if the probability of dropout is lower than true.zero.thr, the imputed entries are set to zero.

drop_thre

numeric; between 0 and 1 specifying the threshold to determine dropout values

Value

NULL object


anacarolinaleote/ADImpute documentation built on May 18, 2021, 10:11 p.m.