Package: ribiosUtils 1.7.9

Jitao David Zhang

ribiosUtils: Utilities from and Interface to the 'Bioinfo-C' ('BIOS') Library

Provides interface to the 'Bioinfo-C' (internal name: 'BIOS') library and utilities. 'ribiosUtils' is a Swiss-knife for computational biology in drug discovery, providing functions and utilities with minimal external dependency and maximal efficiency.

Authors:Jitao David Zhang [aut, cre, ctb], Clemens Broger [aut, ctb], F.Hoffmann-La Roche AG [cph], Junio C Hamano [cph], Jean Thierry-Mieg [cph], Konrad Rudolph [cph], Richard Durbin [cph]

ribiosUtils_1.7.9.tar.gz
ribiosUtils_1.7.9.zip(r-4.7)ribiosUtils_1.7.9.zip(r-4.6)ribiosUtils_1.7.9.zip(r-4.5)
ribiosUtils_1.7.9.tgz(r-4.6-x86_64)ribiosUtils_1.7.9.tgz(r-4.6-arm64)ribiosUtils_1.7.9.tgz(r-4.5-x86_64)ribiosUtils_1.7.9.tgz(r-4.5-arm64)
ribiosUtils_1.7.9.tar.gz(r-4.7-arm64)ribiosUtils_1.7.9.tar.gz(r-4.7-x86_64)ribiosUtils_1.7.9.tar.gz(r-4.6-arm64)ribiosUtils_1.7.9.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html
card.svg |card.png
ribiosUtils/json (API)
NEWS

# Install 'ribiosUtils' in R:
install.packages('ribiosUtils', repos = c('https://bedapub.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/bedapub/ribiosutils/issues

Pkgdown/docs site:https://bedapub.github.io

On CRAN:

Conda:

5.84 score 1 stars 8 packages 72 scripts 240 downloads 152 exports 0 dependencies

Last updated from:34bea64b60. Checks:12 OK, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK147
linux-devel-x86_64OK138
source / vignettesOK186
linux-release-arm64OK126
linux-release-x86_64OK125
macos-release-arm64OK118
macos-release-x86_64OK183
macos-oldrel-arm64OK85
macos-oldrel-x86_64OK200
windows-develOK147
windows-releaseOK115
windows-oldrelOK110
wasm-releaseFAIL103

Exports:allIdenticalapply1apply2applyTopOrIncAndNotExclFilterasNumMatrixassertColumnNameassertContrastassertDesignassertDesignContrastassertDirassertFilebasefilenamebedaInfobiomicsPstorePath2URLboundboundNormcbindByRownamescheckDircheckFilechosenFewclearLogcloseLoggerConnectionscolumnOverlapCoefficientcompTwoVecscorByRownamescountTokenscreateDircreateRmdTemplatecumJaccardDistancecumJaccardIndexcumOverlapCoefficientcumOverlapDistancecumsumpropcutIntervalcutreeIntoOrderedGroupsdfFactordfFactor2StrdoLogequateWellLabelWidthextnamefirstUpfixWidthStrflushLoghaltifnotheadheadheadtailidenticalMatrixidenticalMatrixValueimatchimatchvinvertListipmatchipmatchvisDebuggingisDirisErrorisEvenisIntDebuggingisInvarColisMaxStatRowisOddisRocheCompoundIDisTopOrIncAndNotExclisVarColjaccardDistancejaccardIndexkeepMaxStatRowkeepMaxStatRowIndlastCharlibordielist2dflistOverlapCoefficientlongdf2matrixmatchColumnmatchColumnIndexmatchColumnNamematchvmatrix2longdfmergeInfreqLevelsByCumsumpropmidenticalmintersectmmatchmsetmsetdiffmunionna.falsenaivePairwiseDistnFieldofactoroverlapCoefficientoverlapDistanceoverwriteDirpAbsLog10ScorepairwiseJaccardDistancepairwiseJaccardIndexpairwiseOverlapCoefficientpairwiseOverlapDistancepercentagepQnormScorepScoreputColsFirstpwdecodepwencodeqqmsgqsystemrbindByColnamesrefactorNumregisterLogrelevelsrelevelsByNamedVecrelevelsByNotNamedVecreloadremoveColumnsremoveColumnsByFuncremoveColumnsWithNAremoveInvarColremoveRowsByFuncremoveRowsWithNAreplaceColumnNamereplaceZeroPvalueribiosTempdirribiosTempfilermatrocheCorerowscalerrankrrankIndrsetdiffscriptInitsetDebugshortenRocheCompoundIDshortenStrsilenciosortAndFilterByCumsumpropsortByColsortByDimnamesstrtokenstubborngcsubsetByColumnNamesummarizeColssummarizeColumnssummarizeRowstailtailtrimulenuniqueLengthuniqueNonNAunsetDebugverbosewellIndex2positionwhoamiwriteLog

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Testing whether several objects are all identical with each otherallIdentical
Apply isTopOrIncAndNotExcl filter to a matrixapplyTopOrIncAndNotExclFilter
Convert string-valued data frame or matrix into a numeric matrixasNumMatrix atofMatrix stringDataFrame2numericMatrix
Assert whether the required column names existassertColumnName
Check dimensionality of contrast matrixassertContrast
Check dimensionality of design matrixassertDesign
Check dimensionality of both design and contrast matrixassertDesignContrast
Print BEDA project informationbedaInfo
Translate BiOmics-Pathology pstore path to URLbiomicsPstorePath2URL
Set boundaries for numeric values, or perform a 0-1 normalization.bound boundNorm
Column bind by rownamescbindByRownames rbindByColnames
Check whether file(s) existassertFile checkFile
Print the chosen few items of a long vectorchosenFew
Close connections to all loggers This function closes all open connections set up by loggers It is automatically run at the end of the R session (setup by 'registerLog')closeLoggerConnections
Pairwise jaccard/overlap coefficient can be calculated efficiently using matrix Pairwise overlap coefficient of binary matrix by columncolumnOverlapCoefficient
Compare two vectors by set operationscompTwoVecs
Calculate correlation coefficients using common rows of the two matricescorByRownames
Count tokens by splitting stringscountTokens nField
Create a directory if it does not exist, and then make sure the creation was successful.createDir
Copy the skeleton RMarkdown file to a specified locationcreateRmdTemplate
Cumulative Jaccard IndexcumJaccardDistance cumJaccardIndex
Cumulative overlap coefficientcumOverlapCoefficient cumOverlapDistance
Proportion of cumulative sum over sumcumsumprop
Cut a vector of numbers into interval factors.cutInterval
Cut a tree into groups of ordered sizescutreeIntoOrderedGroups
Get a factor vector for a data.framedfFactor
Convert factor columns in a data.frame into character stringsdfFactor2Str
Format labels for wells in microwell plates to equal widthsequateWellLabelWidth
Get the base and extension(s) of file name(s)basefilename extname
Make the first alphabet of strings uppercasefirstUp
Shorten strings to strings with a fix width of charactersfixWidthStr
Ensure the Truth of R Expressions and Print Defined Error Message if NOThaltifnot
head/tail function for matrix or data.frameheadhead tailtail
Print head and tail elements of a vectorheadtail
Test whether two matrices are identical by values and by dim namesidenticalMatrix
Test whether two matrices have the same numerica values given certain accuracyidenticalMatrixValue
Case-insensitive match and pmatchimatch imatchv ipmatch ipmatchv matchv
Invert the names and elements of a listinvertList
Checks existing directoryassertDir checkDir isDir
Tell whether an object is an errorisError
Whether an integer is odd (or even)isEven isOdd
Tell whether a character string is a Roche compound IDisRocheCompoundID
Logical vector of being top or included and not excludedisTopOrIncAndNotExcl
Calculate the Jaccard Index between two vectorsjaccardDistance jaccardIndex
KEEP ROWS WITH THE MAXIMUM STATISTICisMaxStatRow keepMaxStatRow keepMaxStatRowInd
Return last characters from stringslastChar
Load a library mutedly and quit (die) in case of failinglibordie
Transform a list of character strings into a data.framelist2df
Pairwise overlap coefficient of listslistOverlapCoefficient
Convert a long-format data frame into matrixlongdf2matrix
Match a column in data.frame to a master vectormatchColumn matchColumnIndex
Match a given vector to column names of a data.frame or matrixmatchColumnName
Transform a matrix into a long-format data.framematrix2longdf
Merge infrequent levels by setting the threshold of the proportion of cumulative sum over sum a.k.a. cumsumpropmergeInfreqLevelsByCumsumprop
Multiple identicalmidentical
Multiple matchingmmatch
Operations for multiple setsmintersect mset msetdiff munion
Replace NA with FALSEna.false
Calculate pairwise distances between each pair of items in a listnaivePairwiseDist
Ordered factorofactor
Reorder the groups by their group sizeorderCutgroup
Overlap coefficient, also known as Szymkiewicz-Simpson coefficientoverlapCoefficient overlapDistance
Overwrite a directoryoverwriteDir
Transform p-values to continuous scores with the absolute-log10 transformationpAbsLog10Score
Calculate pairwise Jaccard Indices between each pair of items in a listpairwiseJaccardDistance pairwiseJaccardIndex
Calculate pairwise overlap coefficients between each pair of items in a listpairwiseOverlapCoefficient pairwiseOverlapDistance
Print a decimal number in procent formatpercentage
Transform p-values to continuous scores with the quantile function of the normal distributionpQnormScore
Print BEDAinfo objectprint.BEDAinfo
Transform p-values to continuous scorespScore
Rearrange columns to put some columns to far leftputColsFirst
Decode password with function implemented with pwencodepwdecode
Encode a passwordpwencode
Quitely Quit with Messagesqqmsg
Quietly runs a system commandqsystem
Sort numeric factor levels by valuesrefactorNum
The functions 'registerLog' and 'doLog' provide a simple mechanism to handle loggings (printing text messages to files or other types of connections) in R.clearLog flushLog registerLog
Relevel a factor by a named or unnamed vector.relevels
Relevel a factor by a named vector.relevelsByNamedVec
Relevel a factor by a unnamed vector.relevelsByNotNamedVec
Reload a packagereload
Remove columnsremoveColumns
Remove rows or column by functionremoveColumnsByFunc removeRowsByFunc
Remove columns in a matrix that contains one or more NAsremoveColumnsWithNA
Remove invariable columns from a data frame or matrixisInvarCol isVarCol removeInvarCol
Remove rows in a matrix that contains one or more NAsremoveRowsWithNA
Replace column names in data.framereplaceColumnName
Replace p-values of zeroreplaceZeroPvalue
A temporary directory which (1) every machine in the cluster has access to and (2) has sufficient spaceribiosTempdir
A temporary file which (1) every machine in the cluster has access to and (2) there is sufficient spaceribiosTempfile
ribiosUtilsribiosUtils
Remove temporary files at a specified time interval from nowrmat
Extract core identifiers from Roche compound IDsrocheCore
S3 method for row-scalingrowscale
Scale a matrix by rowrowscale.matrix
Scale a table by rowrowscale.table
Reverse rank orderrrank rrank.default
Get reverse rank orders in each columnrrank.matrix
Return a matrix that highlights reverse rank orders of features of interest by columnrrankInd
Reverse setdiffrsetdiff
Prepare R for an interactive scriptscriptInit
Functions for command-line Rscript debuggingisDebugging isIntDebugging setDebug unsetDebug
Shorten Roche compounds identifiersshortenRocheCompoundID
Shorten strings to a given number of charactersshortenStr
Keep silent by suppressing warnings and messagessilencio
Sort a numeric vector and filter by a threshold of cumsumpropsortAndFilterByCumsumprop
Sort data.frame rows by values in specified columnssortByCol
Sort matrix by dim namessortByDimnames
Tokenize strings by characterstrtoken
Repeat garbage-collecting until all resource is freedstubborngc
Subset a data.frame by column name, allowing differences in casessubsetByColumnName
Summarizing rows/columns by a factorapply1 apply2 summarizeCols summarizeColumns summarizeRows
Trim leading and tailing spaces from stringtrim
Length of unique elements in a vectorulen uniqueLength
Make a vector free of NA and uniqueuniqueNonNA
Print messages conditional on the verbose levelverbose
Translate well index numbers to well positionswellIndex2position
System user namewhoami
Write text as log to a connectiondoLog writeLog