check.nas {Pigengene} | R Documentation |
NA
s from a data matrixChecks Data
for NA
values.
check.nas(Data, naTolerance=0.05, na.rm=TRUE)
Data |
A matrix or data frame containing the expression data, with genes corresponding to columns and rows corresponding to samples. Rows and columns must be named. |
naTolerance |
A number in the 0-1 range. If the frequency of |
na.rm |
If |
A list of:
cleaned |
The cleaned data with no |
tooNaGenes |
A character vector of those genes (i.e., column
names of |
replacedNaNum |
The number of |
Habil Zare
check.pigengene.input
, Pigengene-package
data(aml) dim(aml) aml[1:410]<-NA c1 <- check.nas(Data=aml) dim(c1$cleaned) c1$tooNaGenes rm(aml)