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="DaparToolshedData")
obj <- Exp1_R25_pept[seq_len(10), ]
metadata <- qMetacell(obj[[1]])
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")

samWieczorek/DAPAR2 documentation built on Oct. 15, 2023, 1:45 p.m.