19 search resultsShowing 1~19 results

Stocked
sk427

@sk427

vim-cellmode

PythonコードをVimで編集しながらiPythonなどのインタラクティブ環境で実行したい。手元の環境がPyhton3かつipython6とかなので便利そうなの(vim-ipythonとか)は...

4
1
Comment0
sk427

@sk427

PythonでPlink

PythonでPLINKのデータファイル(.bed, .fam, .map)などを利用したい。pyplinkというモジュールがある。 インストール pipでインストールできる shell pip...

3
1
Comment0
sk427

@sk427

Rで例外処理

tryCatch( { エラーを出すかもしれない処理 } , error = function(e) { エラーに対して行う処理 } ) と書く。遺伝子発現行列geneに対して網羅的にt検定をし...

8
11
Comment0
sk427

@sk427

haskellでBayes

stackでHackageにないパッケージの管理 haskellでmonad-bayesパッケージを使おうと思ったらうまく行かなかった。haskell-platformでインストールされるcab...

2
1
Comment2
sk427

@sk427

最小二乗法

$x_i$は$p-1$個の要素を持つ説明変数ベクトルとする。 $y_i$は目的変数とすると線形モデルは下記の様に表される y_i=\beta_1+\sum_{j=2}^{p}x_{ij}\bet...

0
0
Comment0
sk427

@sk427

t検定

t検定(分散が等しい場合) 分散の推定量$U_{e}$ U_{e}=\frac{(m-1)U_{x}+(n-1)U_{y}}{m+n-2} t検定量の算出 t = \frac{|\bar{X}-...

0
0
Comment0
sk427

@sk427

Ubuntu16.04(17.04)へのdockerのインストール

既存のdockerをアンインストールする(ことが公式で勧められている)。 公開鍵の登録に必要なプログラムをインストールする。 公開鍵を使ってレポジトリを追加して、インストールする。 sudo a...

2
2
Comment0
sk427

@sk427

pyenv + anaconda + python3

python3が使いたい。しかし、Linuxではpython2は様々な場面で利用されておりシステムワイドにpython3をデフォルトにしてしまうと不都合が生じる。例えばlinux用のDropbo...

29
38
Comment1
sk427

@sk427

WindowsでAnnovar

Windows 10 のPower shellからannovarを実行するときのメモ ・PerlはWindowsに標準ではインストールされていない ・Active Perlというのがメジャーらし...

0
0
Comment0
sk427

@sk427

source()のディレクトリ問題

Rでプロジェクトが大きくなってくるとソースファイルを呼び出し元(./MAIN.R)と別のディレクトリ("../SRC/SOURCE.R")において、ライブラリとして読み込んで使用したくなる。ソー...

0
3
Comment0
sk427

@sk427

行列の形を保ったままapply

行列の形を保ったまま関数を適応する方法についてのメモ m <- c(1:9, 3, 3) structure(sapply(m, sqrt), dim=m)) structure(vapp...

0
0
Comment0
sk427

@sk427

交差確率と組換確率

2つのマーカー間で平均1回交差(cross over)が起こる状況を考える。この状況において2つのマーカーについて組み換え(recombination)が起こる率は、2つのマーカー間での交差が奇...

0
0
Comment0

19 search resultsShowing 1~19 results

Qiita is a knowledge sharing service for engineers.

  1. You can follow users and tags
  2. You can stock useful information
  3. You can make edit suggestions for articles
Functions that can be used after logging in