Learn R Programming

rMisbeta (version 1.0)

OutMisDat: This function allows user's to add outliers and missing values in the original dataset

Description

OutMisDat() function returns the outliers and missing value incorporated data. The percentages of outliers and missing values can be provided by the users. If pctOut and pctMis both are provided 0 then this function returns the original dataset

Usage

OutMisDat(xx,pctOut,pctMis)

Arguments

xx

xx denotes a vector of data matrix.

pctOut

percentage of outliers defined by user.

pctMis

percentage of missing values defined by user.

Value

This function returns the outlier and missing incorporated data matrix

Datao

a dataset corrupted by Outlier and missing value

References

Shahjaman M, Mollah MHM, Rahman MR, Islam SSM and Mollah NHM. Robust identification of differentially expressed genes from RNA-seq data. Genomics 2020; 112(2): 2000:2010.

Examples

Run this code
# NOT RUN {
nG=1000
n1=n2=5
Simdat=Sim2Group(nG,n1,n2,var0=0.1,pde=0.1) 
xx=Simdat$outmat
Datao=xx
MisOutdat<-OutMisDat(xx,pctOut=0.1,pctMis=0.1)
# }

Run the code above in your browser using DataLab