Function to calculate Eucledean distance matrix without parallelisation

rcpp_Eucl_distance_NotPar(mat)

Arguments

mat

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

Value

a distance matrix

Examples

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)