Answers.Body: <p>There is generally no such thing as correct or incorrect when it comes to clustering. When you specify $K$, the program did it's statistical algorithms. Unless the the program had a bug, your results were statistically valid.</p>
  
  <p>You will need to check the clustered labels visually. Only your biological knowledge can tell you the optimal $K$.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-09-13T07:30:17.023Z
Answers.LastActivityDate: 2018-09-13T07:30:17.023Z
Answers.UserDisplayName: SmallChess
Answers.Body: <p>7 clusters may be correct in that it's the optimal number according to the Bayesian information criterion (or whatever value you had mclust optimize), but that doesn't make it necessarily the most sensible value. Have a look at your data and visually look at what might make sense. It's likely that the clusters are subdividing up and down regulated genes into various subgroups, which may or may not be useful, depending on your goals.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-09-13T10:21:37.827Z
Answers.Text: yes I used BIC ,and this is what my PI was asking if those cluster are even correct or make sense ...may be I would try some other clustering and see if get similar number I would let know...
Answers.UserDisplayName: kcm
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-09-13T11:02:33.963Z
Answers.Text: As you're learning, clustering tends to be an iterative process.
Answers.UserDisplayName: Devon Ryan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-09-14T05:09:50.960Z
Answers.Text: very naive question when i define the number of k , the k mean clustering happens on my rows or columns or both ?
Answers.UserDisplayName: kcm
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-09-14T06:45:25.287Z
Answers.Text: Rows are clustered using the values in the columns.
Answers.UserDisplayName: Devon Ryan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-09-13T06:55:40.443Z
Answers.LastActivityDate: 2018-09-13T06:55:40.443Z
Answers.UserDisplayName: Devon Ryan
Body: <p>So I have expression data set with 4 healthy sample and 4 disease, to determine the number of K I used mclust which i ran on the list of differentially expressed genes so I got around 7 cluster from Mclust which im using as an input for my K-mean .</p>
  
  <p>Now my data set is like all the differentially expressed genes it contains both UP and down regulated genes so basically it may be UP in my healthy and Down in patient and vice-versa ,4 likely possibilities.</p>
  
  <p>So now I have this doubt that from that I'm getting 7 cluster.Is that result is correct ? </p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-09-13T07:45:59.460Z
Comments.Text: What do you mean that you have 4 possibilites? Which constrasts did you do to calculate the differentially expressed genes? Did you compare healthy to disease? Then you only have 2 options.
Comments.UserDisplayName: llrs
Tags: <r><rna-seq>
Title: K mean clustering issue
ThreadText: # K mean clustering issue
  
  (Asked by: username_0 on 2018-09-13)
  
  So I have expression data set with 4 healthy sample and 4 disease, to determine the number of K I used mclust which i ran on the list of differentially expressed genes so I got around 7 cluster from Mclust which im using as an input for my K-mean .
  
  Now my data set is like all the differentially expressed genes it contains both UP and down regulated genes so basically it may be UP in my healthy and Down in patient and vice-versa ,4 likely possibilities.
  
  So now I have this doubt that from that I'm getting 7 cluster.Is that result is correct ?
  
  **Tags:** r, rna-seq
  
  > **Comments:**
  > **username_1**: What do you mean that you have 4 possibilites? Which constrasts did you do to calculate the differentially expressed genes? Did you compare healthy to disease? Then you only have 2 options.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2018-09-13. Score: 1 | Accepted answer
  
  There is generally no such thing as correct or incorrect when it comes to clustering. When you specify $K$, the program did it's statistical algorithms. Unless the the program had a bug, your results were statistically valid.
  
  You will need to check the clustered labels visually. Only your biological knowledge can tell you the optimal $K$.
  
  
  ---
  
  ### Answer by username_3 on 2018-09-13. Score: 1
  
  7 clusters may be correct in that it's the optimal number according to the Bayesian information criterion (or whatever value you had mclust optimize), but that doesn't make it necessarily the most sensible value. Have a look at your data and visually look at what might make sense. It's likely that the clusters are subdividing up and down regulated genes into various subgroups, which may or may not be useful, depending on your goals.
  
  > **Comments:**
  > **username_0**: yes I used BIC ,and this is what my PI was asking if those cluster are even correct or make sense ...may be I would try some other clustering and see if get similar number I would let know...  
  > **username_3**: As you're learning, clustering tends to be an iterative process.  
  > **username_0**: very naive question when i define the number of k , the k mean clustering happens on my rows or columns or both ?  
  > **username_3**: Rows are clustered using the values in the columns.  
  
  ---
  
  