ttImpute: Treatment-treatment (tt) impute

Description Usage Arguments

View source: R/ttImpute.R

Description

Impute the missing values for mat2 using tail imputation approach if mat1 has n1 or more quantified values and mat2 has n2 or less quantified values, and vice versa if paired is set to be true. That is if mat2 has n1 or more quantified values and mat1 has n2 or less quantified values.

Usage

1
ttImpute(mat1, mat2, n1, n2)

Arguments

mat1

a matrix with rows correspond to phosphosites and columns correspond to replicates within treatment1.

mat2

a matrix with rows correspond to phosphosites and columns correspond to replicates within treatment2.

n1

an integer indicating n1 or more quantified values required for considering for imputation.

n2

an integer indicating n2 or less quantified values required for considering for imputation.

m

a numeric number of for controlling mean downshifting.

s

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

paired

a flag indicating whether to impute for both treatment1 and treatment2 (default) or treatment2 only (if paired=FALSE).


SydneyBioX/phosphoR documentation built on May 20, 2019, 12:58 a.m.