impute: Imputation Function

Description Usage Arguments Examples

View source: R/Impute.R

Description

This function will Impute zero values of your data.

Usage

1
impute(A = 0, loged = FALSE, prepared = FALSE, method = "NMF")

Arguments

a

data matrix A, which represent gene expressions for each cell/sample. rows = genes and cols= cells, first column should be gene names, first row should be cell names.

b

loged should be TRUE if your data is loged, default is FALSE

c

prepared to save time prepared should be set to TRUE if you have ran impute on your data before, and you just want to try different methods, default is FALSE

d

method could be set to "NMF", "KNN" or "SlopeOne". default is "NMF"

Examples

1
2
impute(A)
impute(A, method="NMF" )

elnazmirzaei/dogs documentation built on Nov. 22, 2020, 9:06 a.m.