Package: BaseSet 0.9.0.9002
BaseSet: Working with Sets the Tidy Way
Implements a class and methods to work with sets, doing intersection, union, complementary sets, power sets, cartesian product and other set operations in a "tidy" way. These set operations are available for both classical sets and fuzzy sets. Import sets from several formats or from other several data structures.
Authors:
BaseSet_0.9.0.9002.tar.gz
BaseSet_0.9.0.9002.zip(r-4.5)BaseSet_0.9.0.9002.zip(r-4.4)BaseSet_0.9.0.9002.zip(r-4.3)
BaseSet_0.9.0.9002.tgz(r-4.4-any)BaseSet_0.9.0.9002.tgz(r-4.3-any)
BaseSet_0.9.0.9002.tar.gz(r-4.5-noble)BaseSet_0.9.0.9002.tar.gz(r-4.4-noble)
BaseSet_0.9.0.9002.tgz(r-4.4-emscripten)BaseSet_0.9.0.9002.tgz(r-4.3-emscripten)
BaseSet.pdf |BaseSet.html✨
BaseSet/json (API)
NEWS
# Install 'BaseSet' in R: |
install.packages('BaseSet', repos = c('https://packages.ropensci.org', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ropensci/baseset/issues
bioconductorbioconductor-packagesets
Last updated 10 months agofrom:4936e88805 (on master). Checks:OK: 1 ERROR: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Sep 28 2024 |
R-4.5-win | ERROR | Sep 28 2024 |
R-4.5-linux | ERROR | Sep 28 2024 |
R-4.4-win | ERROR | Sep 28 2024 |
R-4.4-mac | ERROR | Sep 28 2024 |
R-4.3-win | ERROR | Sep 28 2024 |
R-4.3-mac | ERROR | Sep 28 2024 |
Exports:%>%activateactiveadd_columnadd_elementsadd_relationadd_relationsadd_setsadjacency_elementadjacency_setarrangearrange_elementarrange_relationarrange_setcardinalitycartesiancomplementcomplement_elementcomplement_setdeactivateelement_sizeelementselements<-filterfilter_elementfilter_relationfilter_setgetGAFgetGMTgetOBOgroupgroup_byincidenceindependentindependent_probabilitiesintersectionis_nestedis.fuzzylength_probabilitylength_setmove_tomultiply_probabilitiesmutatemutate_elementmutate_relationmutate_setname_elementsname_elements<-name_setsname_sets<-namingnElementsnRelationsnSetspower_setpullpull_elementpull_relationpull_setrelationsrelations<-remove_columnremove_elementremove_relationremove_setrename_elementsrename_setreplace_elementsreplace_relationsreplace_setsselectselect_elementselect_relationselect_setset_sizeset_symbolssetssets<-showsizesubtracttidytidySetunionunion_closedunion_probability
Dependencies:clidplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigR6rlangtibbletidyselectutf8vctrswithr
Advanced examples
Rendered fromadvanced.Rmd
usingknitr::rmarkdown
on Sep 28 2024.Last update: 2023-07-09
Started: 2019-02-11
BaseSet
Rendered fromBaseSet.Rmd
usingknitr::rmarkdown
on Sep 28 2024.Last update: 2023-07-09
Started: 2023-07-09
Fuzzy sets
Rendered fromfuzzy.Rmd
usingknitr::rmarkdown
on Sep 28 2024.Last update: 2023-07-09
Started: 2019-09-06
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Determine the context of subsequent manipulations. | activate active deactivate |
Add column | add_column add_column,TidySet,character-method |
Add elements to a TidySet | add_elements |
Add relations | add_relation add_relation,TidySet,data.frame-method |
Add relations to a TidySet | add_relations |
Add sets to a TidySet | add_sets |
Adjacency | adjacency adjacency.TidySet adjacency_element adjacency_set |
Arrange the order of a TidySet | arrange.TidySet arrange_element arrange_relation arrange_set |
Transforms a TidySet to a data.frame | as.data.frame.TidySet |
Convert to list | as.list.TidySet |
Combine Values into a Vector or List | c,TidySet-method |
Cardinality or membership of sets | cardinality cardinality,TidySet-method |
Create the cartesian product of two sets | cartesian cartesian.TidySet |
Complement TidySet | complement |
Complement of elements | complement_element complement_element,TidySet,characterORfactor-method |
Complement of a set | complement_set complement_set,TidySet,characterORfactor-method |
Dimnames of a TidySet | dimnames.TidySet |
Drop unused elements and sets | droplevels.TidySet |
Calculates the size of the elements | element_size element_size,TidySet-method |
Elements of the TidySet | elements elements,TidySet-method elements<- elements<-,TidySet-method nElements,TidySet,logical-method nElements,TidySet,missing-method replace_elements |
Extract | $,TidySet-method $<-,TidySet-method extract-TidySet [,TidySet-method [<-,TidySet-method [[,TidySet-method [[<-,TidySet-method |
Filter TidySet | filter.TidySet filter_element filter_relation filter_set |
Read a GAF file | getGAF |
Import GMT (Gene Matrix Transposed) files | getGMT |
Read an OBO file | getOBO |
Create a new set from existing elements | group group.TidySet |
group_by TidySet | group_by.TidySet |
Incidence | incidence incidence,TidySet-method |
Independence of the sets | independent |
Intersection of two or more sets | intersect intersection intersection,TidySet,character-method |
Are some sets as elements of other sets? | is_nested is_nested.TidySet |
Check if a TidySet is fuzzy. | is.fuzzy is.fuzzy,TidySet-method |
Calculates the probability | length_set |
Length of the TidySet | length.TidySet |
Lengths of the TidySet | lengths,TidySet-method |
Move columns between slots | move_to move_to,TidySet,characterORfactor,characterORfactor,character-method |
Probability of a vector of probabilities | independent_probabilities multiply_probabilities |
Mutate | mutate.TidySet mutate_element mutate_relation mutate_set |
Name elements | name_elements name_elements,TidySet,logical-method name_elements,TidySet,missing-method name_elements<-,TidySet,logical,characterORfactor-method name_elements<-,TidySet,missing,characterORfactor-method |
Rename elements | name_elements<- |
Name sets | name_sets name_sets,TidySet,logical-method name_sets,TidySet,missing-method name_sets<-,TidySet,logical,characterORfactor-method name_sets<-,TidySet,missing,characterORfactor-method |
Rename sets | name_sets<- |
Names of a TidySet | names.TidySet |
Name an operation | naming |
Number of elements | nElements |
Number of relations | nRelations |
Number of sets | nSets |
Create the power set | power_set |
Pull from a TidySet | pull.TidySet pull_element pull_relation pull_set |
Relations of the TidySet | nRelations,TidySet-method relations relations,TidySet-method relations<- relations<-,TidySet-method replace_relations |
Remove column | remove_column remove_column,TidySet,character,character-method |
Remove elements | remove_element remove_element,TidySet,characterORfactor-method |
Remove a relation | remove_relation remove_relation,TidySet,characterORfactor,characterORfactor-method |
Remove sets | remove_set remove_set,TidySet,characterORfactor-method |
Rename elements | rename_elements rename_elements,TidySet-method |
Rename sets | rename_set rename_set,TidySet-method |
select from a TidySet | select.TidySet select_element select_relation select_set |
Calculates the size of a set | set_size set_size,TidySet-method |
A subset of symbols related to sets | set_symbols |
Sets of the TidySet | nSets,TidySet,logical-method nSets,TidySet,missing-method replace_sets sets sets,TidySet-method sets<- sets<-,TidySet-method |
Method to show the TidySet object | show,TidySet-method |
Size | size |
Subtract | subtract subtract,TidySet,characterORfactor,characterORfactor-method |
Convert GSEABase classes to a TidySet | tidy tidy.GeneSet tidy.GeneSetCollection |
Create a TidySet object | tidySet tidySet.data.frame tidySet.Go3AnnDbBimap tidySet.list tidySet.matrix tidySet.TidySet |
A tidy class to represent a set | TidySet TidySet-class |
Join sets | union union.TidySet |
Union closed sets | union_closed union_closed.TidySet |
Calculates the probability of a single length | length_probability union_probability |