title: Marking data labels on outliers in 3D scatter plot
body: <p>I have a tab separated dataset that looks like this</p>
  
  <pre><code>Labels  t1  t2  t3
  gene1   0.000000E+00    0.000000E+00    1.138501E-01
  gene2   0.000000E+00    0.000000E+00    9.550272E-02
  gene3   0.000000E+00    1.851936E-02    1.019907E-01
  gene4   8.212816E-02    0.000000E+00    6.570984E+00
  gene5   1.282434E-01    0.000000E+00    6.240799E+00
  gene6   2.918929E-01    8.453281E-01    3.387610E+00
  gene7   0.000000E+00    1.923038E-01    0.000000E+00
  gene8   1.135057E+00    0.000000E+00    2.491100E+00
  gene9   7.935625E-01    1.070320E-01    2.439292E+00
  gene10  5.046790E+00    0.000000E+00    2.459273E+00
  gene11  3.293614E-01    0.000000E+00    2.380152E+00
  gene12  0.000000E+00    0.000000E+00    1.474757E-01
  gene13  0.000000E+00    0.000000E+00    1.521591E-01
  gene14  0.000000E+00    9.968809E-02    8.387166E-01
  gene15  0.000000E+00    1.065761E-01    0.000000E+00
  </code></pre>
  
  <p>What I want: is to get a 3d scatterplot with labels of outliers, like this:</p>
  
  <p><img src="https://i.stack.imgur.com/gHuHQ.png" alt="enter image description here"></p>
  
  <p>What I have done: in R</p>
  
  <p>I have actually read each column individually like this:</p>
  
  <pre><code>library("scatterplot3d")
  temp&lt;-read.table("tempdata.txt", header=T)
  scatterplot3d(temp1$t1, temp1$t2, temp1$t3)
  </code></pre>
  
  <p>What I want: is that the labels of outliers should be displayed atleast for the top 250 or how can I get these labels of top 250 outliers in a variable for further analysis.</p>
  
  <p>Could anyone please guide me through this in R.</p>
  
  <p>The solution in python are also welcome.</p>