View source: R/common_prot_loop.R
com_protein_loop | R Documentation |
Function to know if each element of each element of a list is unique or duplicated; and if so, how many times.
com_protein_loop(data)
data |
A named list containing at least two elements which contains character of numeric elements |
A list containing the common and unique element of the whole list
# 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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.