match.metacell: Similar to the function 'is.na' but focused on the equality...

View source: R/metacell.R

match.metacellR Documentation

Similar to the function is.na but focused on the equality with the paramter 'type'.

Description

Similar to the function is.na but focused on the equality with the paramter 'type'.

Usage

match.metacell(metadata, pattern = NULL, level)

Arguments

metadata

A data.frame

pattern

The value to search in the dataframe

level

xxx

Value

A boolean dataframe

Author(s)

Samuel Wieczorek

Examples

data(Exp1_R25_pept, package="DAPARdata")
obj <- Exp1_R25_pept[seq_len(10), ]
metadata <- GetMetacell(obj)
m <- match.metacell(metadata, pattern = "Missing", level = "peptide")
m <- match.metacell(metadata, pattern = NULL, level = "peptide")
m <- match.metacell(metadata, pattern = c('Missing', 'Missing POV'), level = "peptide")

prostarproteomics/DAPAR documentation built on Nov. 26, 2024, 6:32 p.m.