Skip to content

Instantly share code, notes, and snippets.

@hussius
Created August 26, 2010 12:50
Show Gist options
  • Save hussius/551332 to your computer and use it in GitHub Desktop.
Save hussius/551332 to your computer and use it in GitHub Desktop.
# Plot histogram
(def d (read-dataset "/Users/mikaelhuss/Desktop/SAGE-liver-CVD/deliver_clinical_traits.txt" :header true :delim \tab))
(view (histogram (filter number? (sel d :cols 5))))
# Or the same with with-data
(with-data
(read-dataset "/Users/mikaelhuss/Desktop/SAGE-liver-CVD/deliver_clinical_traits.txt" :header true :delim \tab)
(view (histogram (filter number? ($ 5 )))))
# Random commands
(col-names d)
(view d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment