calcDistArma {scGPS} | R Documentation

## Compute Euclidean distance matrix by rows

### Description

Compute Euclidean distance matrix by rows

### Usage

    calcDistArma(x)

### Arguments

`x` | A numeric matrix

### Value

a distance matrix

### Examples

    mat_test <-matrix(rnbinom(1000,mu=0.01, size=10),nrow=1000)
    #library(microbenchmark)
    #microbenchmark(calcDistArma(mat_test), dist(mat_test), times=3)

[Package scGPS version 1.8.0 Index]