Despite the existence of data analysis tools such as R, SQL, Excel and others, it is still insufficient to cope with today's big data analysis needs.
The author proposes a CUI (Character User Interface) toolset with dozens of functions to neatly handle tabular data in TSV (Tab Separated Values) files.
It implements many basic and useful functions that have not been implemented in existing software with each function borrowing the ideas of Unix philosophy and covering the most frequent pre-analysis tasks during the initial exploratory stage of data analysis projects.
Also, it greatly speeds up basic analysis tasks, such as drawing cross tables, Venn diagrams, etc., while existing software inevitably requires rather complicated programming and debugging processes for even these basic tasks.
Here, tabular data mainly means TSV (Tab-Separated Values) files as well as other CSV (Comma Separated Value)-type files which are all widely used for storing data and suitable for data analysis.
Despite the existence of data analysis tools such as R, SQL, Excel and others, it is still insufficient to cope with today's big data analysis needs.
The author proposes a CUI (Character User Interface) toolset with dozens of functions to neatly handle tabular data in TSV (Tab Separated Values) files.
It implements many basic and useful functions that have not been implemented in existing software with each function borrowing the ideas of Unix philosophy and covering the most frequent pre-analysis tasks during the initial exploratory stage of data analysis projects.
Also, it greatly speeds up basic analysis tasks, such as drawing cross tables, Venn diagrams, etc., while existing software inevitably requires rather complicated programming and debugging processes for even these basic tasks.
Here, tabular data mainly means TSV (Tab-Separated Values) files as well as other CSV (Comma Separated Value)-type files which are all widely used for storing data and suitable for data analysis.
Statstical Genetics Summer School 2023
http://www.sg.med.osaka-u.ac.jp/school_2023.html
Aug 25-27th 2023, Osaka University, The University of Tokyo, RIKENm, Japan
24. > y <- factor(c("A", "AB", "A", "A", "B", "O", "O"))
> y
[1] A AB A A B O O
Levels: A AB B O
> mode(y) # データの保存型を確認
[1] “numeric”
> class(y) # データのクラスは因子
[1] "factor"
> str(y) # オブジェクト構造を確認
Factor w/ 4 levels "A","AB","B","O": 1 2 1 1 3 4 4
因子について (つづき)
24
27. require("scatterplot3d") # ii)から
z <- seq(-10, 10, 0.01) # -10から10まで0.01刻み
x <- cos(z)
y <- sin(z)
scatterplot3d(x, y, z, highlight.3d=TRUE,
col.axis="blue", col.grid="cyan", main="螺旋の3Dプ
ロット", pch=20)
パッケージを使ってみよう
i. scatterplot3dパッケージのzipファイルをダウ
ンロードしてインストール
ii. scatterplot3dパッケージをロード
iii. 三次元データの作成とプロット
27