remove_peaks | R Documentation |
Filter to remove features.
remove_peaks(df, rem_index)
df |
A matrix-like (e.g. an ordinary matrix, a data frame) or
RangedSummarizedExperiment-class object with
all values of class |
rem_index |
|
Object of class SummarizedExperiment
. If input data are a
matrix-like (e.g. an ordinary matrix, a data frame) object, function returns
the same R data structure as input with all value of data type
numeric()
.
df <- MTBLS79[ ,MTBLS79$Batch == 1] rem_index <- vector(mode="logical", length=nrow(SummarizedExperiment::assay(df))) rem_index[c(1, 20, 456, 789)] <- TRUE out <- remove_peaks(df=df, rem_index=rem_index)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.