Man pages for AlexanderKirchmair/datamisc
Various functions for data handling

add_levelAdd new levels to a factor
baseextFile extension of path
bodyReturn the middle n rows and columns of an object
ceCombine character values into a vector or list without quotes
cjoinCbind multiple matrices by shared rownames
clusterDataHierarchical clustering of data
col2rownamesColumn to rownames
collapseCollapse duplicate ids
colorcatPrint in color
compareDFColored printing to compare two dataframes
convertGeneIDsGene ID conversion
convertGeneSetsConvert gene sets between different formats
convertGeneSpeciesConvert gene IDs between species
correlCalculate correlations between any types of variables
COXCox Proportional Hazards Analysis
cutstrLimit number of characters in a string
cxheatmapHeatmap plotting with ComplexHeatmap
dbugapplyDrop-in replacement for lapply to quickly identify all...
deduplRename duplicated strings
downloadDownload file from url
expandExpand (demultiplex) rows with multiple ids
find_markersFind markers for groups in a Seurat object
fpFile path
genPalettesGenerate distinct color palettes
getBiomaRtRetrieve data from BiomaRt
getColorsGenerate color mappings for discrete data columns in a...
get_feature_ranksGet feature ranking vector from differential abundance...
getGEOdataGet data from the GEO database
getGOgenesGet GO gene sets
getMetabolicAtlasGet gene/metabolite sets from metabolicatlas
getMitoCartaGet gene sets from MitoCarta3
getMSigDBGet gene sets from msigdbr
getPaletteerSelect colors using the 'paletteer' package
getRanksGet feature ranks from differential abundance testing
get_seu_datasetLoad Seurat datasets
get_top_markersExtract top markers from find_markers() results
ggbarBarplots with ggplot2
ggdesignPlot colData/experimental design matrix
ggpcaPrincipal component analysis and plotting of data
ggpdfSave ggplot as pdf
ggpngSave ggplot as png
ggseabarGSEA bar plot
ggstatGgplot with errorbars
ggtopfeaturesBarplot of the top features of an expression matrix
ggvolcanoVolcano plots using ggplot2
gradientGet color gradients
grapes-less-than-L-greater-than-grapesList assignment pipe
grapes-less-than-P-greater-than-grapesParallel list assignment pipe
grapes-less-than-Q-greater-than-grapesSGE qsub list assignment pipe
grapes-less-than-S-greater-than-grapesList assignment pipe
grapes-L-greater-than-grapesList pipe
grapes-P-greater-than-grapesParallel list pipe
grapes-Q-greater-than-grapesSGE qsub list pipe
grapes-S-greater-than-grapesList pipe
gseaplotGSEA plot modified from 'enrichplot::gseaplot2'
head2Return the first n rows and columns of an object
intercalateIntercalate one vector with another
intersectionIntersection of all elements
KMKaplan-Meier Survival Analysis
lgrepPattern Matching and Replacement
listpipeList pipe function
make_filenamesSafe filenames
matScaleScale rows (columns) of a matrix
mkdirMake directory
nafSet NA values to FALSE
napplyNested apply
narSet NA values to any other value
na_skipSkip rows/columns containing NA values
natSet NA values to TRUE
nf_summaryImport and plot preprocessing statistics from nf-core/rnaseq...
nf_tximportImport counts from nf-core/rnaseq pipeline using tximport
nf_versionsGet versions of tools used in the nf-core/rnaseq pipeline
padjustAdjust P-values for Multiple Comparisons
partitionDivide vector into n groups
pickColorsInteractive color picker
pipePipe operator
pval_formatFormat p-values for printing
qapplySGE qsub wrapper function
quo_classGet class of a quoted object
rangescaleScale data within range
rdataframeGenerate a random data.frame
readGMTRead GMT files
readGTFRead gtf files
readTablesRead all sheets from .xlsx file
rgenesGet random genes
rjoinRbind multiple matrices by shared colnames
rlistGenerate a random list
rmatGenerate a matrix of random numbers
rounddownRounding of numbers
roundupRounding of numbers
rownames2colRownames to column
runDESeq2Differential expression analysis with DESeq2
runfGSEAGSEA with fGSEA
runGSEAGSEA with clusterProfiler
runGSVASingle-sample gene set enrichment with GSVA
runLIMMADifferential expression analysis with LIMMA
runORAGene set over-representation analysis
runTESTDifferential expression analysis with custom test
saveplotSave plot to file
setColnamesSet the Names in an Object
setRownamesSet the Names in an Object
seu_dotplotDotPlot wrapper for Seurat
seu_downsampleDownsample Seurat object
seu_umapUMAP plot wrapper for Seurat
showColorsDisplay colors in console
sizeMemory size of workspace objects
sourcelibSource R functions from dir into local env
sourceRMDSource R code of an RMD file
stratifyStratify variables based on quantiles
stratify_varStratify helper function
subInfReplace Inf values for plotting
summarise_colsSummarise multiple columns by grouping
summarise_rowsSummarise multiple rows by grouping
theme_basicBasic ggplot2 theme
theme_devGgplot2 theme for checking plot layout and margins
uniqueSetsGet unique sets (irrespective of item order)
versionInfoSoftware version reporting
writeGMTWrite GMT files
writeTablesWrite dataframes to .xlsx file
AlexanderKirchmair/datamisc documentation built on June 13, 2025, 5:26 a.m.