outlierFind_i | R Documentation |
Service function for outlierFind (see help function for outlierFind).
outlierFind_i(
i,
protClass,
outlierLevel = "peptide",
numRefCols,
numDataCols,
outlierMeth,
range,
proba,
eps = eps,
randomError
)
i |
unique identifier for protein i |
protClass |
a data frame containing profiles associated with either spectra or peptides (see Tutorial 6) |
outlierLevel |
'peptide' for outlier spectra within peptides, or 'protein' for outlier peptides within proteins |
numRefCols |
number of columns (variables) before data columns |
numDataCols |
number of fractions in each profile |
outlierMeth |
boxplot (recommended), scores, or none (if no outliers are to be reported) |
range |
the range parameter used for identifying outliers using the boxplot method |
proba |
probability to exclude outlier for scores method |
eps |
small value to add so that log argument is greater than zero |
randomError |
TRUE if allow it to be random |
New data frame for a single protein or peptide with an additional column that indicates the number of fractions in a profile (peptides or spectra) that are outliers
set.seed(63561)
eps <- 0.029885209
data(spectraNSA_test)
uniqueLabel <- spectraNSA_test$pepId[1]
flagSpectraBox_i <- outlierFind_i(i=uniqueLabel, protClass=spectraNSA_test,
outlierLevel='peptide', numRefCols=5, numDataCols=9,
outlierMeth='boxplot', range=3, proba=NA, eps=eps,
randomError=TRUE)
str(flagSpectraBox_i)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.