Test for Spatial Bivariate Association Across Omics Types


[Up] [Top]

Documentation for package ‘sbivar’ version 0.99.49

Help Pages

addFeatureColumn Add columns with feature names to a matrix by splitting rownames, and remove rownames
arrayDeriv Construct the nxnxg/2 array of derivatives for a nxn matrix to the g/2 covariance matrix parameters.
arrayMatProd Multiply an array with a matrix
arrayProd2tr Find traces of all inner products of matrices composing arrays A and B yielding a pxp matrix
arrayProdTr Find traces of all inner products of matrices composing arrays A and B, after transposing the second yielding a pxp matrix
assayT Extract an assay, and transpose
bdiagn A wrapper for Matrix::bdiag maintaining names
buildAltSigmas Construct cross-blocks of alternative covariance matrices at different length scales
buildDerivArray Build a 3-slice array of covariance-parameter derivatives
buildNewGrid Build a new grid covering the convex hull around two coordinate matrices
buildSigmaGp Build the SAC matrix for a Gaussian process
buildWeightMat Build a weight matrix for bivariate Moran's I
CCT An analytical p-value combination method using the Cauchy distribution.
checkControlVals Check validity of control list
checkInputSingle Check input of matrices and lists
correlationsMulti Find all cross-correlations for a list of matrices
evalVariogram Evaluate a variogram on a set of distances
exploreWeights Visualize different weighting functions
extractResultsMulti Extract results from linear models
extractResultsMulti-method Extract results from linear models
findDoubleUnderScore Is there any double underscore in the character vector?
fitGAM Fit a GAM model to a single variable
fitGP Fit a Gaussian process (GP) to a single outcome vector
fitLinModel Fit a linear model for an individual feature pair
fitLinModels Extract results from linear models
fitLinModels-method Extract results from linear models
fitManyGAMs Fit GAMs to all columns of a dataframe, as a wrapper for fitGAM
fitManyGPs A wrapper to fit GPs on all columns of a matrix
GAMcontrol Create default argument lists
GAMsMulti Fit GAMs and find correlations and standard error for data lists
GAMsSingle Fit univariate GAMs and test bivariate combinations
GaussKernel Construct the SAC part of the covariance matrix using the Gaussian covariance kernel,
getApproxVar Approximate variance of the spatial covariance numerator
getDiscreteVars Get all categrocial variables from a dataframe
getFeaturesList Return feature names from a list
getLengthScale Derive a default length scale to start GP fitting
getSize Construct the size variable
getSpatialCoords Extract coordinate matrix
getX Extract data matrix
GPcontrol Create default argument lists
GPsSingle Fit Gaussian processes (GPs) if needed, and perform score tests
makeNames Make unique names
makeOffset Make a list of offsets
makePval Convert z-value to p-value
matheronVariograms Estimate variograms using Matheron's binning estimator for many features at once, and evaluate
ModTtestSingle Perform modified t-tests for all pairs
moranControl Create default argument lists
MoransIMulti Find all Moran's I statistics for a list of matrices
MoransISingle Calculate bivariate Moran's I between two modality matrix, with variance and p-value
moveTwoCoords Move two sets of coordinates to 0-1. without shifting them with respect to each other
normMat Normalize a data matrix, and ensure correct column names
plotCoords Plot the coordinates of two omics modalities
plotCoordsMulti Plot the coordinates of two omics modalities
plotGAMs Plot the fitted splines, and the correlation between them
plotGAMsTopPair Plot GAMs of top features
plotGAMsTopPair-method Plot GAMs of top features
plotPairMulti Plot a specified feature pair for the data provided
plotPairSingle Plot a specified feature pair for the data provided
plotPairSingleVectors Plot a specified feature pair for the data provided
plotSpotSums Plot the spot-wise sums of the two modalities across the slices
plotTopPair Plot a the top feature pair according to a sbivar analysis
plotTopPair-method Plot a the top feature pair according to a sbivar analysis
printIteration Print a message for the current iteration
printProgress Print feature progress
replaceLhs Replace the left hand side of a formula by a fixed string
sbivar Spatial bivariate association analysis
sbivar-method Spatial bivariate association analysis
sbivarMulti Estimate measures of bivariate spatial association for multiple images
sbivarResults-class sbivarResults class
sbivarSingle Test for bivariate spatial association in a single image
scaleHelpFun Wrapper to normalize, select feature and scale
scaleMinusOne Scale to [-1,1] range
scaleZeroOne Scale to [0,1] range
selfName Name a character vector after itself
show-method Show basic properties of a sbivarResults object
splitSpatialExperiment Split a SpatialExperiment object into images
strwrapPaste Collapse a set of character vectors, and wrap the string
sund Split a string
testGAM Test for correlation between the predictions of two GAM models
testGP Perform a score test on the bivariate spatial association in a Gaussian process.
topPairs Return the top results found by sbivar
topPairs-method Return the top results found by sbivar
vcovPredGam Return predictions of a GAM, along with the factored coefficient covariance
Vicari Spatial transcriptomics and metabolomics data of mouse brain
writeSbivarToXlsx Write _sbivar_ results to an excel worksheet
writeSbivarToXlsx-method Write _sbivar_ results to an excel worksheet