-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate row.names error message #6
Comments
Working on TCGA data , I am getting the same error:
Trying what @jack mentioned- trimming sample ID initiate with a unique character string, error turned to :
|
I got the same error as @hamidghaedi while running M3C. I managed to track it down to the following line of code (line 476 on the M3C.R file): df <- data.frame(m_matrix) Many of my sample names (column names) started with a number and the data.frame() function added an "X" to the beginning of each name that started with a number ("1" becomes "X1"). This caused a mismatch with the names listed in neworder2. To get around this problem, I changed all of my sample names to start with a letter and M3C is now running correctly. Edit: This workaround can be easily applied by using the data.frame() function on your input dataset before running M3C. |
Cool. I will try this solution. |
Originally posted as a stackoverflow question
Whilst attempting to run consensus clustering using M3C, I get an error - my console output (actual row names changed for example code):
I ran the equivalent of the following using M3C:
I assumed the issue is caused by the fact the first four characters of each of these features are equal ("ABCD"). I therefore temporarily changed their respective names prior to running M3C:
M3C then runs correctly. This works as a solution, but was wondering if I had missed something or if this is a bug?
The text was updated successfully, but these errors were encountered: