com_protein_loop: com_protein_loop

View source: R/common_prot_loop.R

com_protein_loopR Documentation

com_protein_loop

Description

Function to know if each element of each element of a list is unique or duplicated; and if so, how many times.

Usage

com_protein_loop(data)

Arguments

data

A named list containing at least two elements which contains character of numeric elements

Value

A list containing the common and unique element of the whole list

Examples

# with numeric
x <- list("a" = c(1,2,3,5), "b" = c(55,1,8,99,65,3,4), "c" = c(7,0,1), "d" = c(55,1,65,3,5))
com_protein_loop(x)

# with character, here these are proteins
x <- IMPRINTS.CETSA.app::drug_data
com_protein_loop(lapply(x$data, function(l) l$id))


mgerault/mineCETSAapp documentation built on April 17, 2025, 7:24 p.m.