日々のつれづれ

不惑をむかえ戸惑いを隠せない男性の独り言

2011-12-01から1ヶ月間の記事一覧

Mobile Substrate has been fixed?

I'm wondering why my iphone doesn't work on new Cydia. However, I can find update file of mobile substrate when I refreshed cydia. After update, my iPhone recovered before setting.Therefore, I'll spend peaceful time this year-end.

iOS5.0.1のJBが始まった

I updated cydia yesterday. After that, my home design on iPhone was disturbed. I guessed cydia applications didn't work and I was afraid that iPhone was crashed. However this situation was different from what I expected. JB on iOS5.0.1 was…

グラフに文字を記入する

グラフに文字を記入したいときはtext関数とmtext関数が便利。

CancerChannelで情報収集

The number of cancer patients are increasing. This year, several famous people died by cancer.When I watched these news on TV, I think that cancer is not already rare disease.Recently, a lot of cancer campaign exits, such as pink ribbon. M…

『アピタル乳がん夜間学校 第9回目 乳がんの薬物療法(分子標的薬剤)について』が公開された

Last Wednesday, "アピタル乳がん夜間学校" was held. Dr. Shimizu lectured the chemotherapy using the molecular targeted drugs for breast cancer.Recently, a lot of these drugs have been launched, so I was little confused about breast cancer t…

凡例(legend関数)について

legend関数は引数が多く、par関数でグラフィックパラメータを調整すれば、細かいアレンジができるので便利。 barplot関数のように、引数で凡例を持つ関数もある。 四隅にlegendを描きたいときは、"topleft","topright","bottomleft","bottomright"を指定する…

イレッサの正しい使い方がはっきりした

Iressa has been approved to treat lung cancer. However, this drug didn't work well at some patients.As a result of many study, Irresa was clear not to work on EGFR-mutated patients. So, adhibition of Iressa had changed last month. 2011年11…

Unity断念、gnome3へ

I haven't been able to be used to Unity UI, so I decided to change gnome3. However, I wasn't able to find how to shut down in gnome3 desktop.When I shut down my PC, gnome3 needs to use Alt key. So, I refer to this dairy, シャットダウンボタ…

R Advent Calenderを振り返って

R

R Advent Calenderに参加して、私は「image関数でイメージする」という日記を書いた。12/14でした。 そして、今日、12/25がきてR Advent Calenderは終了する。 みなさんの日記を見ると、レベルの高さに驚く、そしてとても勉強になる。 もし機会があれば、も…

直線とか曲線とか・その4

arrows関数をいじって、ちょっと関数を自作した話。 これは、有意差をつける折れ線が面倒だった日記を以前しましたが、本当に面倒でした。 で、こんなもの作ってた。 有意差をつける折れ線 > sig_line <- function(x,y,h,star="*",...){ + arrows(x0=x[1],y0…

直線とか曲線とか・その3

もう少し、続き curve関数 曲線を描く関数です。関数を直接、指定できます。 座標を返すので、値が欲しいときに重宝します。 > jpeg("curve.jpg") > > par(mfrow=c(2,2)) > curve(x+1/x,main=expression(x+frac(1,x))) # defaultは0から1 > curve(sin,from=-…

来年も科学は進歩しつづける

I tweeted that news before. Some genomic research proceeded this year and might contributed to human healthcare next year. Low cost diagnostics tools were focused to improve the medical situation in the developing countries. Sequence cost …

geditでShift-JISを読み込ませる

RのエディターにはESS, JGR, TinnR, RStudio, RKWardとかありますが、gedit + terminalが一番使いやすい、と思っている。 でも、geditはエンコードの認識が今ひとつで、winのShift-JISを認識しない(cp932なら大丈夫なのか?)。で、調べてみると、解決法があ…

途中で諦めないことが大事なのか?

Is this judgement expensive or not?"Kyo", which is the fastest computer this year, was developed by RIKEN and Fujitsu. However, NEC and Hitachi had ever participated in this development, and they broke away at 2009 dew to the financial pro…

直線とか曲線とか・その2

少し変わった直線は、それなりに手続きが必要になるわけですが、 matlines関数 matplot関数のlines関数になります。 > dat <- t(sapply(seq(1,8,2),function(i) sort(rnorm(4,mean=i,sd=1)))) > dimnames(dat) <- lapply(c("row","col"),paste,1:4) > > jpeg…

Bobby Caldwellが好き

島村楽器のお題「パーティーでかけたい曲」 高校生の頃、ラジオから流れてきた曲、「Hert of mine」、今でも大好きで聞いています。 彼の透き通るようなハイトーンボイスは大人に憧れていた当時、とても「大人」をイメージさせてくれました。 AORというジャ…

iniparibとolaparib、どちらが福音となるか?

PARP inhibitor is thought as the new molecular targeted drugs for BRCA1/2 mutated cancer. Therefore, PARP inhibitor's approval is strongly needed for their patients.Olaparib, one of the PARP inhibitors was decided not to start Phase III st…

直線とか曲線とか

既出の関数もありますが、改めてまとめてみた。Rでは、グラフィックデバイスが開いている必要があり、上書きする関数と考えられます。 だから、直線はグラフの王道ですが、Rでは主に装飾で重宝します。 ただ、僕には引数の使い方が直感的でないように思う。 …

Image関数でイメージする・その2

R

まえの日記ではimage_text関数をかきました。 でも、本当はもっとひどいスパゲティーコードで、ひどい関数でした…というお話。

カラーコードの関数

R

いろんなグラデーションを持っていたら、楽だなあと思っていた。 緑 - 黄 - 赤の要求が多かったですが、この色目は嫌いでした。青 - 白か、白 - 青がオススメです。 でも、結局、グレースケールが一番、視認性が高かったりする。印刷も安いし…

DAKOがタンパクとゲノムの両方でHER2検査を供給し始める

DAKO has gotten the approval of a new HER2 diagnostic test by FDA.Already, DAKO has gotten the traditional immunohistchemical diagnostic test named HercepTest. This is a major kit to decide the Herceptin treatment for HER2 positive breast …

dynamite-plunger plotについて

R

kymさんにコメントをいただけた。 消えゆく記憶をつなぎとめるために、細々とブログ続けているのですが、こうして誰かに見ていただけていると思うと、とても嬉しくなります。なので、「dynamite-plunger plot」について、私なりの解釈を記録しておこうと思っ…

どうして、横幅が足りないと軸ラベルが飛ぶのか?

Rはグラフィックスペースが狭いと、軸のラベルが間引きされてしまう。 当時、何故かこのことが嫌だった。 けっこう重宝していたのですが、今思うと、何でこんなの作ったんだろう? gridBaseパッケージで軸をきれいに

Sweave関数について少し...・その4

その続き…Sweave関数はchunkを使ってLaTexにRコードを埋め込む訳ですが、コードの部分を少し美しく見せたいことがあったりします。 はてなで、続けているTutorialはもともとSweaveで書いたテキストがベースになっており、ここではRのコードを赤、出力を青で…

Sweave関数について少し...・その3

その続き… 最近、Sweave関数もLaTexも使って無いので、動かないかもしれませんが…で、次はxtableを複数のページにまたがって出力したくなって、supertabular環境とlongtable環境を持ってこようとしました。

Sweave関数について少し...・その2

その続き… 最近、Sweave関数もLaTexも使って無いので、動かないかもしれませんが…で、グラフが描けるようになると、次はtableも少し凝ってみたりして、 xtableの各行を墨塗りで色分けする xtableの特定のセルに色をつける

Unityになって変換が嫌

It has passed one month since I had installed Oneiric Ocelot. First, I am thinking to wait the release of next LTS, but I feel that my PC was little slow and I decided to install it...Before I installed it, I worried about Oneiric UI (that…

ヒストグラムと箱ひげ図

今日は中休みということで、簡単なグラフを2つ。 ヒストグラムと箱ヒゲ図。

Sweave関数について少し...

R Advent Calenderでwakutekaさんにコメントさせていただいたところ、ご返事をいただけました。 ありがとうございます。ネットで意見交換することになれていないので、ちょっと嬉しかったりして...で、Sweave関数について、少し書こうと思いました。 解析結…

ベイズを勉強したいと思っている

I haven't learned the Statistics, so I wasn't sometimes able to recognize the formula. My friends usually discuss with others using the mathematics, but I don't understand it and discussed with them. Recently, I'm able to have a few time t…