tImpute: Tail-based impute

Description Usage Arguments Value Examples

View source: R/Impute.R

Description

Tail-based imputation approach as implemented in Perseus.

Usage

1
tImpute(mat, m, s)

Arguments

mat

a matrix with rows correspond to phosphosites and columns correspond to samples.

m

a numeric number for controlling mean downshifting.

s

a numeric number for controlling standard deviation of downshifted sampling values.

Value

An imputed matrix

Examples

1
2
3
4
5
6
data('phospho.cells.Ins.sample')
grps = gsub('_[0-9]{1}', '', colnames(phospho.cells.Ins))
phospho.cells.Ins.filtered <- selectGrps(phospho.cells.Ins, grps, 0.5, n=1)

set.seed(123)
phospho.cells.Ins.impute <- tImpute(phospho.cells.Ins.filtered)

PengyiYang/PhosR documentation built on June 21, 2020, 8:37 a.m.