MOFA2
MOFA2 copied to clipboard
create_mofa issue with different number of samples in different data types
Hi,
I am trying to create a mofa object with a list of matrices and I am getting the below error.
MOFAobject<- create_mofa(list3)
Creating MOFA object from a list of matrices (features as rows, sample as columns)...
Error in create_mofa_from_matrix(data, groups) : Views have different number of samples (columns)... please make sure that all views contain the same samples in the same order (see documentation)
Would it be possible to create the object from a list of matrices? or for this I would need to create a long data frame as input for the function? Thanks in advance.
Hi,
I am trying to create a mofa object with a list of matrices and I am getting the below error.
MOFAobject<- create_mofa(list3)
Creating MOFA object from a list of matrices (features as rows, sample as columns)...Error in create_mofa_from_matrix(data, groups) : Views have different number of samples (columns)... please make sure that all views contain the same samples in the same order (see documentation)
Would it be possible to create the object from a list of matrices? or for this I would need to create a long data frame as input for the function? Thanks in advance.
Did you check the order of the samples?