copykat運行記錄2

R version 4.0.2 (2020-06-22) -- "Taking Off Again"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> #exp.rawdata <- read.table("./copykat/data/GSM4476486_filtered_UMIcount_TNBC1.txt", header=T, sep='\t', check.names = F)
> exp.rawdata <- read.table("GSM4476486_filtered_UMIcount_TNBC1.txt", header=T, sep='\t', check.names = F)
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
  cannot open file 'GSM4476486_filtered_UMIcount_TNBC1.txt': No such file or directory
> #exp.rawdata <- read.table("./copykat/data/GSM4476486_filtered_UMIcount_TNBC1.txt", header=T, sep='\t', check.names = F)
> exp.rawdata <- read.table("GSM4476486_filtered_UMIcount_TNBC1.txt", header=T, sep='\t', check.names = F)
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
  cannot open file 'GSM4476486_filtered_UMIcount_TNBC1.txt': No such file or directory
> #exp.rawdata <- 
read.table("./copykat/data/GSM4476486_filtered_UMIcount_TNBC1.txt", header=T, sep='\t', check.names = F)
> exp.rawdata <- read.table("GSM4476486_combined_UMIcount_CellTypes_TNBC1.txt", header=T, sep='\t', check.names = F)
> copykat.test <- copykat(rawmat=exp.rawdata, 
+                         id.type="S", 
+                         cell.line="no", 
+                         ngene.chr=5, 
+                         win.size=25, 
+                         KS.cut=0.15, 
+                         sam.name="TNBC1", 
+                         distance="euclidean", 
+                         n.cores=4)
Error in copykat(rawmat = exp.rawdata, id.type = "S", cell.line = "no",  : 
  could not find function "copykat"
> install_github("navinlabcode/copykat")
Error in install_github("navinlabcode/copykat") : 
  could not find function "install_github"
> library(devtools)
載入需要的程輯包:usethis
Warning messages:
1: 程輯包‘devtools’是用R版本4.0.4 來建造的 
2: 程輯包‘usethis’是用R版本4.0.3 來建造的 
> install_github("navinlabcode/copykat")
Downloading GitHub repo navinlabcode/copykat@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

 1: All                                           
 2: CRAN packages only                            
 3: None                                          
 4: RcppArmad... (0.10.1.2.0 -> 0.10.4.0.0) [CRAN]
 5: matrixStats  (0.57.0     -> 0.58.0    ) [CRAN]
 6: Rcpp         (1.0.5      -> 1.0.6     ) [CRAN]
 7: MatrixModels (0.4-1      -> 0.5-0     ) [CRAN]
 8: SparseM      (1.78       -> 1.81      ) [CRAN]
 9: quantreg     (5.75       -> 5.85      ) [CRAN]
10: segmented    (1.3-1      -> 1.3-3     ) [CRAN]
11: caTools      (1.18.0     -> 1.18.2    ) [CRAN]
12: RcppParallel (5.0.2      -> 5.1.2     ) [CRAN]

Enter one or more numbers, or an empty line to skip updates:3
Installing 4 packages: mcmc, MCMCpack, dlm, parallelDist
Installing packages into ‘C:/Users/Nano/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/windows/contrib/4.0/mcmc_0.9-7.zip'
Content type 'application/zip' length 1455359 bytes (1.4 MB)
downloaded 1.4 MB

trying URL 'https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/windows/contrib/4.0/MCMCpack_1.5-0.zip'
Content type 'application/zip' length 3653153 bytes (3.5 MB)
downloaded 3.5 MB

trying URL 'https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/windows/contrib/4.0/dlm_1.1-5.zip'
Content type 'application/zip' length 647932 bytes (632 KB)
downloaded 632 KB

trying URL 'https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/windows/contrib/4.0/parallelDist_0.2.4.zip'
Content type 'application/zip' length 1106778 bytes (1.1 MB)
downloaded 1.1 MB

package ‘mcmc’ successfully unpacked and MD5 sums checked
package ‘MCMCpack’ successfully unpacked and MD5 sums checked
package ‘dlm’ successfully unpacked and MD5 sums checked
package ‘parallelDist’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
    C:\Users\Nano\AppData\Local\Temp\RtmpKopzNf\downloaded_packages
√  checking for file 'C:\Users\Nano\AppData\Local\Temp\RtmpKopzNf\remotes2c0c7c1c4c6f\navinlabcode-copykat-0930c36/DESCRIPTION' ...
-  preparing 'copykat':
√  checking DESCRIPTION meta-information ... 
-  checking for LF line-endings in source and make files and shell scripts
-  checking for empty or unneeded directories
-  building 'copykat_1.0.4.tar.gz'
   
Installing package into ‘C:/Users/Nano/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
* installing *source* package 'copykat' ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'copykat'
    finding HTML links ... 好了
    CNA.MCMC                                html  
    annotateGenes.hg20                      html  
    baseline.GMM                            html  
    baseline.norm.cl                        html  
    convert.all.bins.hg20                   html  
    copykat                                 html  
    exp.rawdata                             html  
    heatmap.3                               html  
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
*** arch - x64
** testing if installed package can be loaded from final location
*** arch - i386
*** arch - x64
** testing if installed package keeps a record of temporary installation path
* DONE (copykat)
> # library(devtools)
> # 
> # install_github("navinlabcode/copykat")
> library('copykat')

載入程輯包:‘copykat’

The following object is masked _by_ ‘.GlobalEnv’:

    exp.rawdata
> copykat.test <- copykat(rawmat=exp.rawdata, 
+                         id.type="S", 
+                         cell.line="no", 
+                         ngene.chr=5, 
+                         win.size=25, 
+                         KS.cut=0.15, 
+                         sam.name="TNBC1", 
+                         distance="euclidean", 
+                         n.cores=4)
[1] "running copykat v1.0.4"
[1] "step1: read and filter data ..."
[1] "33696 genes, 1097 cells in raw data"
[1] "12232 genes past LOW.DR filtering"
[1] "step 2: annotations gene coordinates ..."
[1] "start annotation ..."
[1] "step 3: smoothing data with dlm ..."
Error in parallel::mclapply(1:ncol(norm.mat), dlm.sm, mc.cores = n.cores) : 
  'mc.cores' > 1 is not supported on Windows
> copykat.test <- copykat(rawmat=exp.rawdata, 
+                         id.type="S", 
+                         cell.line="no", 
+                         ngene.chr=5, 
+                         win.size=25, 
+                         KS.cut=0.15, 
+                         sam.name="TNBC1", 
+                         distance="euclidean", 
+                         n.cores=1)
[1] "running copykat v1.0.4"
[1] "step1: read and filter data ..."
[1] "33696 genes, 1097 cells in raw data"
[1] "12232 genes past LOW.DR filtering"
[1] "step 2: annotations gene coordinates ..."
[1] "start annotation ..."
[1] "step 3: smoothing data with dlm ..."
[1] "step 4: measuring baselines ..."
number of iterations= 369 
number of iterations= 1654 
number of iterations= 206 
WARNING! NOT CONVERGENT! 
number of iterations= 5000 
number of iterations= 826 
number of iterations= 392 
[1] "step 5: segmentation..."
[1] "step 6: convert to genomic bins..."
[1] "step 7: adjust baseline ..."
[1] "step 8: final prediction ..."
[1] "step 9: saving results..."
[1] "step 10: ploting heatmap ..."

Time difference of 26.08823 mins

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末子漩,一起剝皮案震驚了整個濱河市搭儒,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌,老刑警劉巖废封,帶你破解...
    沈念sama閱讀 206,126評論 6 481
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場離奇詭異登夫,居然都是意外死亡拷邢,警方通過查閱死者的電腦和手機,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 88,254評論 2 382
  • 文/潘曉璐 我一進店門平斩,熙熙樓的掌柜王于貴愁眉苦臉地迎上來亚享,“玉大人,你說我怎么就攤上這事绘面∑鬯埃” “怎么了侈沪?”我有些...
    開封第一講書人閱讀 152,445評論 0 341
  • 文/不壞的土叔 我叫張陵,是天一觀的道長晚凿。 經(jīng)常有香客問我亭罪,道長,這世上最難降的妖魔是什么歼秽? 我笑而不...
    開封第一講書人閱讀 55,185評論 1 278
  • 正文 為了忘掉前任应役,我火速辦了婚禮,結(jié)果婚禮上燥筷,老公的妹妹穿的比我還像新娘箩祥。我一直安慰自己,他們只是感情好肆氓,可當我...
    茶點故事閱讀 64,178評論 5 371
  • 文/花漫 我一把揭開白布袍祖。 她就那樣靜靜地躺著,像睡著了一般谢揪。 火紅的嫁衣襯著肌膚如雪盲泛。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 48,970評論 1 284
  • 那天键耕,我揣著相機與錄音寺滚,去河邊找鬼。 笑死屈雄,一個胖子當著我的面吹牛村视,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播酒奶,決...
    沈念sama閱讀 38,276評論 3 399
  • 文/蒼蘭香墨 我猛地睜開眼蚁孔,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了惋嚎?” 一聲冷哼從身側(cè)響起招狸,我...
    開封第一講書人閱讀 36,927評論 0 259
  • 序言:老撾萬榮一對情侶失蹤希痴,失蹤者是張志新(化名)和其女友劉穎浪册,沒想到半個月后团搞,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 43,400評論 1 300
  • 正文 獨居荒郊野嶺守林人離奇死亡摆尝,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 35,883評論 2 323
  • 正文 我和宋清朗相戀三年温艇,在試婚紗的時候發(fā)現(xiàn)自己被綠了。 大學時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片堕汞。...
    茶點故事閱讀 37,997評論 1 333
  • 序言:一個原本活蹦亂跳的男人離奇死亡勺爱,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出讯检,到底是詐尸還是另有隱情琐鲁,我是刑警寧澤卫旱,帶...
    沈念sama閱讀 33,646評論 4 322
  • 正文 年R本政府宣布,位于F島的核電站围段,受9級特大地震影響誊涯,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜蒜撮,卻給世界環(huán)境...
    茶點故事閱讀 39,213評論 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望跪呈。 院中可真熱鬧段磨,春花似錦、人聲如沸耗绿。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,204評論 0 19
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽误阻。三九已至债蜜,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間究反,已是汗流浹背寻定。 一陣腳步聲響...
    開封第一講書人閱讀 31,423評論 1 260
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留精耐,地道東北人狼速。 一個月前我還...
    沈念sama閱讀 45,423評論 2 352
  • 正文 我出身青樓,卻偏偏與公主長得像卦停,于是被迫代替她去往敵國和親向胡。 傳聞我的和親對象是個殘疾皇子,可洞房花燭夜當晚...
    茶點故事閱讀 42,722評論 2 345

推薦閱讀更多精彩內(nèi)容