-
Plot multi column data with ggplot ggplot is…
bourg-de-péage rencontre entre filles Plot multi column data with ggplot ggplot is a great visualization tool for R. It draws beautiful plots but the difference from the native plotting system in R takes some time to get used to it. Here are two examples how to plot data in multiple columns. The original data have three columns with one…
-
Insert the current time into R history timestamp…
avis site de rencontre Insert the current time into R history timestamp()
-
Rename multiple files on Linux If you are…
Rename multiple files on Linux If you are lucky to have rename installed on your system, use it. Rename is a Perl program and can take Perl regular expression. rename ‘s/^comp/compare/’ *pdf Or copy the code below. http://www.perlmonks.org/?node_id=632437 #!/usr/bin/perl -w # # This script was developed by Robin Barker (Robin.Barker@npl.co.uk), # from Larry Wall’s original…
-
RNA seq normalize read count RPKM= number of…
RNA-seq; normalize read count RPKM=(number of mapping reads)*1000bp*1 million reads/[(length of transcript)*(number of total reads )] http://www.clcbio.com/manual/genomics/Definition_RPKM.html http://seqanswers.com/forums/showthread.php?t=10657 http://genomics.isi.edu/rnaseq/framework http://www.nature.com/nmeth/journal/v5/n7/pdf/nmeth.1226.pdf
-
Sort files according to the creation time on…
Sort files according to the creation time on Unix Sort by the last saved time ls -ltr Sort by the created time ls -lUr
-
Save a Perl oneliner to a script perl…
Save a Perl oneliner to a script. perl -MO=Deparse -pe ‘s/(\d+)/localtime($1)/e’ http://stackoverflow.com/questions/2822525/how-can-i-convert-perl-one-liners-into-complete-scripts
-
matchPWM is now part of Biostrings 2.7.47 in…
matchPWM() is now part of Biostrings 2.7.47 (in BioC devel, so you need R-2.7). Load Biostrings: library(Biostrings) Suppose ‘pwm’ contains a Position Weight Matrix, let’s say: pwm maxWeights(pwm) # the max weight in each column [1] 17 20 19 20 18 18 20 8 > maxScore(pwm) # the max possible score [1] 140 Let’s match…
-
Save R function to a text file latex…
Save R function to a text file latex.code
-
Sumatra is a tool for managing and tracking…
Sumatra is a tool for managing and tracking projects based on numerical simulation and/or analysis, with the aim of supporting reproducible research. It can be thought of as an automated electronic lab notebook for computational projects. It consists of: a command-line interface, smt, for launching simulations/analyses with automatic recording of information about the experiment, annotating…
-
Installing Python without root http stackoverflow com questions…
Installing Python without root. http://stackoverflow.com/questions/622744/unable-to-install-python-without-sudo-access