TransWikia.com

marge the matrix from computematrix of deeptools

Bioinformatics Asked on November 28, 2020

I have several matrix from computematrix of deeptools. I need to merge two of them using “computeMatrixOperations cbind -m input1.mat.gz input2.mat.gz -o output.mat.gz”
but I am running to error “/computeMatrixOperations.py”, line 521, in cbindMatrices
hm.matrix.matrix = np.hstack((hm.matrix.matrix, np.empty(hm2.matrix.matrix.shape)))”

Is there any other way to merge the matrixes?

One Answer

You're trying to cbind two matrices of different sizes, so computeMatrix is throwing an error since it's unclear which row goes with which. You need to ensure that matrices have exactly the same number of rows and that the Nth row in each match (i.e., they should be bound together with cbind).

Answered by Devon Ryan on November 28, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP