User:Timothee Flutre/Notebook/Postdoc/2011/11/06: Difference between revisions
From OpenWetWare
(→Entry title: save and reload a R object) |
(→Entry title: abs in awk) |
||
Line 7: | Line 7: | ||
<!-- ##### DO NOT edit above this line unless you know what you are doing. ##### --> | <!-- ##### DO NOT edit above this line unless you know what you are doing. ##### --> | ||
==Entry title== | ==Entry title== | ||
* video of the talk from Emma Whitelaw at the ASHG conference: | * '''video of the talk from [http://www.nged.adelaide.edu.au/member_profiles/Whitelaw_Emma.html Emma Whitelaw] at the ASHG conference:''' | ||
** epigenetics: the study of changes in gene expression which occur in the absence of mutation but which are mitotically heritable | ** epigenetics: the study of changes in gene expression which occur in the absence of mutation but which are mitotically heritable | ||
** the epigenome undergoes dramatic reprogramming in early development, and that different cell-types acquire specific epigenomes, but how much is hard-wired and how much is modifiable by environment? | ** the epigenome undergoes dramatic reprogramming in early development, and that different cell-types acquire specific epigenomes, but how much is hard-wired and how much is modifiable by environment? | ||
Line 20: | Line 20: | ||
** even in the absence of understanding underlying mechanisms, epigenomic landscapes from individuals will provide new diagnostics tools | ** even in the absence of understanding underlying mechanisms, epigenomic landscapes from individuals will provide new diagnostics tools | ||
* save and reload an object with R | |||
* '''save and reload an object with R:''' | |||
toto <- c(1,2,3,4,5) | toto <- c(1,2,3,4,5) | ||
Line 26: | Line 27: | ||
rm(toto) | rm(toto) | ||
load("toto.RData") | load("toto.RData") | ||
* '''use absolute values in awk:''' | |||
awk 'function abs(x){return (((x < 0.0) ? -x : x) + 0.0)} {print abs($1)}' input.txt | |||
<!-- ##### DO NOT edit below this line unless you know what you are doing. ##### --> | <!-- ##### DO NOT edit below this line unless you know what you are doing. ##### --> |
Revision as of 17:03, 6 November 2011
Project name | <html><img src="/images/9/94/Report.png" border="0" /></html> Main project page <html><img src="/images/c/c3/Resultset_previous.png" border="0" /></html>Previous entry<html> </html>Next entry<html><img src="/images/5/5c/Resultset_next.png" border="0" /></html> |
Entry title
toto <- c(1,2,3,4,5) save(toto, file="toto.RData") rm(toto) load("toto.RData")
awk 'function abs(x){return (((x < 0.0) ? -x : x) + 0.0)} {print abs($1)}' input.txt |