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)

IMB-Computational-Genomics-Lab/scGPS documentation built on Dec. 6, 2020, 3:20 p.m.