Man pages for beyondpie/pureRUtils
Commonly used R functions with pure R codes

addMatToSnapAdd bmat or gmat to snap
AnnoyBuildIndexBuild the annoy index Ref: Seurat
AnnoyNNRun annoy Ref: Seurat
AnnoySearchSearch an Annoy approximate nearest neighbor index
ArchRPalettesList of color palettes that can be used in plots
calOvlpScoreOldCalculate overlap scores. Old function, not expored and...
checkArgsExistOrStopCheck if element in argument has no defination argument...
checkFileExistOrStopCheck if file/dir exist, if not, then stop
cleanOutfilePrepare path for a new output file.
downSampleOnSnapDown sample snap object based on a given cluster meta.
emptySnapEmbeddingEmpty snap's embedding recorded in smat slot if it has.
emptySnapGraphEmpty snap's KNN graph if it has.
filterSnapBmatFilter bmat removing common bins and those overlapped with...
getContinuousColorsGet continous color with linear interplotation
getCutoffFromShuffledBmatGet enriched bin's percentage cutoff based on shuffledBmat.
getIsolatedGroupBased on pval matrix, link the nodes without significant...
getMatchDataFrameSelect subset of rows of data.frame based on the order of...
getMultipleColorsGet multiple distinct colors using viridis package.
getOverlapMatrixCalculate Overlap Score matrix for ATAC and RNA jointly...
getOverlapMatrixOldCalculate Overlap Score matrix for ATAC and RNA jointly...
getPvalueOfNDiff.defaultGet number of diff bins and the pvalue given two groups.
getPvalueOfNDiff.multiGroupGet number of diff bins and the pvalue for any two groups
ggPointA ggplot-based dot plot wrapper function
grapes-or-or-grapesOR of NULL. Ref: Seurat If the first element is not NULL,...
igraphModule2ListTransfer modules from igraph::components to a list.
integrateWithScRNASeqIntegration with single-cell RNA sequencing data
landmarkEmbeddingSnapATAC landmark embedding.
listOfNumeric2strTranser list of numeric to string
loadRDataload RData file like readRDS
orderSnapOrder Snap based on the sample information This is critical...
paletteContinuousContinuous Color Palette
paletteDiscreteOptimized discrete color palette generation
plot2DGenerate list of ggplot figures of umap/tsne on the features...
plotConsensusConsensus plot.
plotDotplotGet Seurat dot plot for snap gmat.
plotFeatureSingleplotFeatureSingle Allow the object can be a matrix of...
plotFeatureSingle.SnapATACplotFeatureSingle from SnapATAC package Allow the object can...
prepareOutdirIf dir does not exists, then create it.
prepareOutfileIf file does not exists, then prepare it.
queryEmbeddingSnapATAC query embedding.
runKNNRun SnapATAC KNN.
runLeidenRun Leiden Algorithm.
sampleBasedOnDepth2Sample index based on sequence depth defined by log10UMI...
shuffleBmatShuffle bmat in both row and column.
SnapATACPaletteThe color palettes from SnapATAC
snapGmat2SeuratConvert snap object to Seurat by gmat
splitSelectGet the field-th column of each string splitted by given...
strToAdjmatTransfer specific strings to adjacent matrix A typical string...
theme_ArchRggplot2 default theme for ArchR
uptri2strTransfer the upper tri of a matrix to a string
beyondpie/pureRUtils documentation built on Jan. 10, 2023, 3:22 a.m.