Package: swissknife 0.44

Michael Stadler

swissknife: Handy code shared in the FMI CompBio group

A collection of useful R functions performing various tasks that might be re-usable and worth sharing.

Authors:Michael Stadler [aut, cre], Charlotte Soneson [aut], Panagiotis Papasaikas [aut], Dania Machlab [aut], Fiona Ross [aut], Friedrich Miescher Institute for Biomedical Research [cph]

swissknife_0.44.tar.gz
swissknife_0.44.zip(r-4.7-x86_64)swissknife_0.44.zip(r-4.7-arm64)swissknife_0.44.zip(r-4.6-x86_64)swissknife_0.44.zip(r-4.6-arm64)swissknife_0.44.zip(r-4.5-x86_64)
swissknife_0.44.tgz(r-4.6-x86_64)swissknife_0.44.tgz(r-4.6-arm64)swissknife_0.44.tgz(r-4.5-x86_64)swissknife_0.44.tgz(r-4.5-arm64)
swissknife_0.44.tar.gz(r-4.7-arm64)swissknife_0.44.tar.gz(r-4.7-x86_64)swissknife_0.44.tar.gz(r-4.6-arm64)swissknife_0.44.tar.gz(r-4.6-x86_64)
swissknife_0.44.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
swissknife/json (API)

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

Bug tracker:https://github.com/fmicompbio/swissknife/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

3.32 score 7 stars 20 scripts 25 exports 70 dependencies

Last updated from:c69e512b95. Checks:13 ERROR, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64ERROR275
linux-devel-x86_64ERROR373
source / vignettesOK542
linux-release-arm64ERROR282
linux-release-x86_64ERROR354
macos-release-arm64ERROR356
macos-release-x86_64ERROR644
macos-oldrel-arm64ERROR385
macos-oldrel-x86_64ERROR747
windows-devel-arm64ERROR492
windows-devel-x86_64ERROR262
windows-release-arm64ERROR485
windows-release-x86_64ERROR236
windows-oldrel-x86_64ERROR302
wasm-releaseOK169

Exports:addLintrConfigaddUtilsFunctionsannotateRegionscalcAndCountDistcalcPhasogramcol2hexestimateNRLgetGenomicTilesgetInsertSizeDistFromBamgetMappableRegionslabelCellsloadExampleDatanormGenesetExpressionparsePkgVersionsplotBitScatterplotGeneRegionplotPhasogramplotSelVarGenesprepareGTFreadSampleTsvssampleControlElementsselVarGenesspecificityScorevalueToColorweightedMeanByID

Dependencies:abindaskpassBHBiobaseBiocGenericsBiocParallelclicliprcodetoolscpp11crayoncredentialscurlDelayedArraydescdplyrformatRfsfutile.loggerfutile.optionsgenericsGenomeInfoDbGenomicRangesgertgitcredsgluehttrhttr2iniIRangesjsonliteKernSmoothlambda.rlatticelifecyclemagrittrMatrixMatrixGenericsmatrixStatsmimeopensslpakpillarpkgconfigpngpurrrR6rappdirsRcpprlangrprojrootrstudioapiS4ArraysS4VectorsSeqinfosnowSparseArraySummarizedExperimentsystibbletidyselectUCSC.utilsusethisutf8vctrswhiskerwithrXVectoryamlzip

Readme and manuals

Help Manual

Help pageTopics
swissknife - handy code shared in the FMI CompBio groupswissknife-package swissknife
Copy lintr configuration to packageaddLintrConfig
Copy utility functions to packageaddUtilsFunctions
Annotate regions.annotateRegions
Count frequency of differences between values in integer vectors.calcAndCountDist
Calculate phasograms (same strand alignment distances).calcPhasogram
Get hex colorcol2hex
Estimate the nucleosome repeat length (NRL) from a phasogram.estimateNRL
Get regions tiling a genome.getGenomicTiles
Tabulate insert sizes from paired-end alignments in bam files.getInsertSizeDistFromBam
Get mappable regions of a genome.getMappableRegions
Assign labels to cells using known marker geneslabelCells
Access example dataloadExampleData
Calculate normalized expression of a gene setnormGenesetExpression
Parse R and R package versions from session informationsparsePkgVersions
Create a bitmap-rendered plot.plotBitScatter
Plot gene regionplotGeneRegion
Plot annotated phasogram.plotPhasogram
Plot Selected Variable GenesplotSelVarGenes
Prepare GTF file for use with plotGeneRegionprepareGTF
Read sample tsv files from seqdata storagereadSampleTsvs
Sample control elements that match a target distribution.sampleControlElements
Select Variable Genes in Single Cell RNA-seqselVarGenes
Calculate gene-expression specificity scores.specificityScore specificityScore,matrix-method specificityScore,SummarizedExperiment-method
Map numerical values to colors.valueToColor
Aggregate different rows assigned to the same ID by calculating a weighted meanweightedMeanByID