From 8a7eaaf51a619af1405a69cd4cabecea1d224d0a Mon Sep 17 00:00:00 2001 From: Krishan Gupta Date: Sat, 18 Apr 2020 23:14:26 +0530 Subject: [PATCH] Add files via upload --- R/iCTC.R | 2 +- README.Rmd | 2 +- README.md | 2 +- doc/iCTC.R | 2 +- doc/iCTC.Rmd | 2 +- doc/iCTC.html | 2 +- vignettes/iCTC.Rmd | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/R/iCTC.R b/R/iCTC.R index 5386598..7c85249 100644 --- a/R/iCTC.R +++ b/R/iCTC.R @@ -337,7 +337,7 @@ NB <- function(data_case,te) 'nb',trControl=caret::trainControl(method='cv', number=5, returnResamp = "all")) test_prediction_1 <-stats::predict(fit,te) - test_prob <-stats::predict(iCTC::fit,te,type="prob") + test_prob <-stats::predict(fit,te,type="prob") } return_list <- list("te_labels"=as.numeric(as.matrix(test_prediction_1)), "te_probCTC"=as.numeric(test_prob[,1]), diff --git a/README.Rmd b/README.Rmd index 079d9e6..2ca871c 100644 --- a/README.Rmd +++ b/README.Rmd @@ -51,7 +51,7 @@ library(iCTC) ``` ```{r data, message=FALSE,warning = FALSE,include=TRUE, cache=FALSE} -cell_samples=iCTC::raw_test_data$Clearcell_Polaris_sample_test +cell_samples<-iCTC::raw_test_data$Clearcell_Polaris_sample_test head(cell_samples) ``` diff --git a/README.md b/README.md index 5edd5e6..7ab4fbf 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ library(iCTC) ``` ``` r -cell_samples=iCTC::raw_test_data$Clearcell_Polaris_sample_test +cell_samples<-iCTC::raw_test_data$Clearcell_Polaris_sample_test head(cell_samples) #> Ctc_Naveen_1850-061-049-CS26_S19_15 #> CDH2 0.00 diff --git a/doc/iCTC.R b/doc/iCTC.R index 613910c..f47d798 100644 --- a/doc/iCTC.R +++ b/doc/iCTC.R @@ -8,7 +8,7 @@ knitr::opts_chunk$set( library(iCTC) ## ----data, message=FALSE,warning = FALSE,include=TRUE, cache=FALSE------------ -cell_samples=iCTC::raw_test_data$Clearcell_Polaris_sample_test +cell_samples<-iCTC::raw_test_data$Clearcell_Polaris_sample_test head(cell_samples) ## ----main, message=FALSE,warning = FALSE, include=TRUE, cache=FALSE----------- diff --git a/doc/iCTC.Rmd b/doc/iCTC.Rmd index f72c066..61e864d 100644 --- a/doc/iCTC.Rmd +++ b/doc/iCTC.Rmd @@ -51,7 +51,7 @@ Libraries need to be loaded before running iCTC. library(iCTC) ``` ```{r data, message=FALSE,warning = FALSE,include=TRUE, cache=FALSE} -cell_samples=iCTC::raw_test_data$Clearcell_Polaris_sample_test +cell_samples<-iCTC::raw_test_data$Clearcell_Polaris_sample_test head(cell_samples) ``` diff --git a/doc/iCTC.html b/doc/iCTC.html index 80aa9c1..cc18aff 100644 --- a/doc/iCTC.html +++ b/doc/iCTC.html @@ -323,7 +323,7 @@

Vignette tutorial

This vignette uses a small dataset of cell samples, which is saved in package itself, to demonstrate a standard pipeline. This vignette can be used as a tutorial as well.

Libraries need to be loaded before running iCTC.

library(iCTC)
-
cell_samples=iCTC::raw_test_data$Clearcell_Polaris_sample_test
+
cell_samples<-iCTC::raw_test_data$Clearcell_Polaris_sample_test
 head(cell_samples)
 #>          Ctc_Naveen_1850-061-049-CS26_S19_15
 #> CDH2                                    0.00
diff --git a/vignettes/iCTC.Rmd b/vignettes/iCTC.Rmd
index f72c066..61e864d 100644
--- a/vignettes/iCTC.Rmd
+++ b/vignettes/iCTC.Rmd
@@ -51,7 +51,7 @@ Libraries need to be loaded before running iCTC.
 library(iCTC)
 ```
 ```{r data, message=FALSE,warning = FALSE,include=TRUE, cache=FALSE}
-cell_samples=iCTC::raw_test_data$Clearcell_Polaris_sample_test
+cell_samples<-iCTC::raw_test_data$Clearcell_Polaris_sample_test
 head(cell_samples)
 ```