rcpp_Eucl_distance_NotPar: Function to calculate Eucledean distance matrix without...

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

Function to calculate Eucledean distance matrix without parallelisation

Usage

1

Arguments

mat

an R matrix (expression matrix), with cells in rows and genes in columns

Value

a distance matrix

Examples

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

scGPS documentation built on Nov. 8, 2020, 5:22 p.m.