Transpose a matrix

tp_cpp(X)

Arguments

X

an R matrix (expression matrix)

Value

a transposed matrix

Examples

mat_test <-matrix(rnbinom(1000000,mu=0.01, size=10),nrow=100) tp_mat <- tp_cpp(mat_test)