View source: R/missingValuesFilter.R
GetIndices_MetacellFiltering | R Documentation |
Delete the lines in the matrix of intensities and the metadata table given their indice.
GetIndices_MetacellFiltering(
obj,
level,
pattern = NULL,
type = NULL,
percent,
op,
th
)
obj |
An object of class |
level |
A vector of integers which are the indices of lines to delete. |
pattern |
A string to be included in the |
type |
xxx |
percent |
xxx |
op |
xxx |
th |
xxx |
An instance of class MSnSet
that have been filtered.
Samuel Wieczorek
data(Exp1_R25_pept, package="DAPARdata")
obj <- Exp1_R25_pept[seq_len(10)]
level <- GetTypeofData(obj)
pattern <- c("Missing", "Missing POV")
type <- "AtLeastOneCond"
percent <- FALSE
op <- ">="
th <- 1
indices <- GetIndices_MetacellFiltering(obj, level, pattern, type, percent, op, th)
pattern <- "Quantified"
type <- "AtLeastOneCond"
percent <- FALSE
op <- ">="
th <- 4
indices2.1 <- GetIndices_MetacellFiltering(obj, level, pattern, type, percent, op, th)
pattern <- "Quant. by direct id"
type <- "AtLeastOneCond"
percent <- FALSE
op <- ">="
th <- 3
indices2.2 <- GetIndices_MetacellFiltering(obj, level, pattern, type, percent, op, th)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.