Re: [程式] 關於R-cluster的input file 所接受的格式
我已經會使用R-cluster,請問大家,如何讓結果輸出
以下是我輸入的指令,
mydata <- read.table("test.matrix", header=T, sep="\t", row.names=1)
mydata <- na.omit(mydata)
mydata <- scale(mydata)
d <- dist(mydata, method = "euclidean")
myTree_avg <- hclust(d, method="average")
plclust(myTree_avg, hang = 0.1, unit = FALSE, level = FALSE , square = TRUE, labels = NULL, plot. = TRUE, axes = TRUE, frame.plot = FALSE, ann = TRUE, main = "", sub = NULL, ylab = "dissimilarity")
str(as.dendrogram(myTree_avg))<==只有在螢幕上秀出結果,但是我想要輸出在檔案
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.138.155.193
→
05/10 17:15, , 1F
05/10 17:15, 1F
→
05/10 17:16, , 2F
05/10 17:16, 2F
→
05/10 17:16, , 3F
05/10 17:16, 3F
→
05/10 17:17, , 4F
05/10 17:17, 4F
→
05/10 17:17, , 5F
05/10 17:17, 5F
→
05/11 07:04, , 6F
05/11 07:04, 6F
推
05/12 23:28, , 7F
05/12 23:28, 7F
→
05/14 13:15, , 8F
05/14 13:15, 8F
→
05/14 13:15, , 9F
05/14 13:15, 9F
討論串 (同標題文章)
完整討論串 (本文為第 4 之 4 篇):
BioMedInfo 近期熱門文章
PTT職涯區 即時熱門文章