is.OfType: Similar to the function 'is.na()' but focused on the equality...

View source: R/utils.R

is.OfTypeR 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

is.OfType(data, type)

Arguments

data

A data.frame

type

The value to search in the dataframe

Value

A boolean dataframe

Author(s)

Samuel Wieczorek

Examples

library(QFeatures)
data(ft, package='DaparToolshed')
obj <- ft[[1]]
data <- qMetacell(obj)
is.OfType(as.data.frame(data), "MEC")


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