vectorized_pdist: from an excellent post:...

View source: R/gsdensity_functions.R

vectorized_pdistR Documentation

from an excellent post: https://www.r-bloggers.com/2013/05/pairwise-distances-in-r/ enhanced the speed this function is called by 'compute.kld' to quickly compute the distance between genes to grid points

Description

from an excellent post: https://www.r-bloggers.com/2013/05/pairwise-distances-in-r/ enhanced the speed this function is called by 'compute.kld' to quickly compute the distance between genes to grid points

Usage

vectorized_pdist(A, B)

Arguments

A

matrix

B

matrix

Value

returns pairwise-distances


gsdensity documentation built on March 31, 2023, 8:32 p.m.