Entering edit mode
mokunf
•
0
@mokunf-14927
Last seen 6.8 years ago
|
I'm having issues creating the coldata frame. Below is my script and error.
After I input the last line, I get this error message: Error in data.frame(row.names = colnames(countdata), condition) : row names supplied are of the wrong length Then, I tried running it without condition, which works. However, when I try to run the following code below,
I get another error:
|
I just edited my question. I accidentally pasted the same error message twice. My question is correct now. Oh and yes, this is the code I used.
So the first error means that you didn't get to define coldata, and then the second error is probably because another coldata is coming in from previous in the session that doesn't have condition as a column. So back to the first error:
Can you figure out what this is telling you?
Yes, I fixed that and it works now. I'm now only having the second error pop up.
You'll have to figure this one out on your end by looking closely at your code and the objects. Look at the colnames of coldata, and look at the proposed design. The computer says there is a mismatch, but you say they are identical, so sometimes you may want to look closely to see they are in fact the same.
Ok, I will go through it again. Thank you for your help!