How to preserve base data frame rownames upon filtering in dplyr chain : <p>I have the following data frame:</p>

<p>
<br/></p>

<pre class="lang-r prettyprint-override"><code>df &lt;- structure(list(BoneMarrow = c(30, 0, 0, 31138, 2703), Pulmonary = c(3380, 
21223.3333333333, 0, 0, 27)), row.names = c("ATP1B1", "CYCS", 
"DDX5", "GNB2L1", "PRR11"), class = "data.frame", .Names = c("BoneMarrow", 
"Pulmonary"))

df 
#&gt;        BoneMarrow Pulmonary
#&gt; ATP1B1         30   3380.00
#&gt; CYCS            0  21223.33
#&gt; DDX5            0      0.00
#&gt; GNB2L1      31138      0.00
#&gt; PRR11        2703     27.00
</code></pre>

<p>What I want to do is to get rid of rows with values &lt; 8 in any of the columns. I tried this but the row names (e.g. ATP1B1, CYCS etc) are gone:</p>

<pre class="lang-r prettyprint-override"><code>&gt; df %&gt;% filter(!apply(., 1, function(row) any(row &lt;= 8 )))
  BoneMarrow Pulmonary
1         30      3380
2       2703        27
</code></pre>

<p>How can I preserve that in dplyr chain?</p>
