Browse code

bug in examples

JFerrer-B authored on 11/05/2022 08:53:17
Showing 10 changed files

... ...
@@ -23,6 +23,7 @@
23 23
 #'
24 24
 #' @examples
25 25
 #'
26
+#' \dontrun{
26 27
 #'    PathFiles<-system.file('extdata',package='EventPointer')
27 28
 #'    DONSON_GTF<-paste(PathFiles,'/DONSON.gtf',sep='')
28 29
 #'    PSRProbes<-paste(PathFiles,'/PSR_Probes.txt',sep='')
... ...
@@ -52,6 +53,8 @@
52 53
 #'                   PathGTF=Directory,
53 54
 #'                  EventsFile= EventsFound,
54 55
 #'                  microarray='HTA-2_0')
56
+#'                  
57
+#' }
55 58
 #'
56 59
 #' @export
57 60
 
... ...
@@ -13,7 +13,7 @@
13 13
 #' events.
14 14
 #'
15 15
 #' @examples
16
-#'
16
+#' \dontrun{
17 17
 #'   data(AllEvents_RNASeq)
18 18
 #'   data(SG_RNASeq)
19 19
 #'
... ...
@@ -28,6 +28,7 @@
28 28
 #'    EventsTxt<-paste(system.file('extdata',package='EventPointer'),'/EventsFound_RNASeq.txt',sep='')
29 29
 #'    PathGTF<-tempdir()
30 30
 #'    EventPointer_RNASeq_IGV(Events,SG_RNASeq,EventsTxt,PathGTF)
31
+#'    }
31 32
 #' @export
32 33
 
33 34
 
... ...
@@ -17,6 +17,7 @@
17 17
 #'
18 18
 #'
19 19
 #' @examples
20
+#' \dontrun{
20 21
 #'    data(EventXtrans)
21 22
 #'    data(PSIss)
22 23
 #'    # Design and contrast matrix:
... ...
@@ -30,6 +31,7 @@
30 31
 #'    Fit <- EventPointer_RNASeq_TranRef(Count_Matrix =  PSIss$ExpEvs,
31 32
 #'                                       Statistic = 'LogFC',Design = Design,
32 33
 #'                                       Contrast = Contrast)
34
+#' }
33 35
 #'
34 36
 #'
35 37
 #' @export
... ...
@@ -12,6 +12,7 @@
12 12
 #'  and the p.values for each contrast, and a third element (LocalFDR) with the information of the local false discovery rate.
13 13
 #'
14 14
 #' @examples
15
+#' \dontrun{
15 16
 #'       data(ArraysData)
16 17
 #'       PSI_Arrays_list<-EventPointer:::getPSI(ArraysData)
17 18
 #'       PSI_Arrays <- PSI_Arrays_list$PSI
... ...
@@ -21,6 +22,7 @@
21 22
 #'       # Statistical analysis:
22 23
 #'       
23 24
 #'       table <- PSI_Statistic(PSI_Arrays,Design = Design, Contrast = Contrast, nboot = 50)
25
+#'  }
24 26
 #'       
25 27
 #'
26 28
 #' @export
... ...
@@ -20,7 +20,7 @@
20 20
 #'  
21 21
 #' 
22 22
 #' @examples 
23
-#' 
23
+#' \dontrun{
24 24
 #'    data("EventXtrans")
25 25
 #'    data("TxD")
26 26
 #'    data("Fit")
... ...
@@ -33,6 +33,7 @@
33 33
 #'    Result_PDEA <- Protein_Domain_Enrichment(PathsxTranscript = EventXtrans,
34 34
 #'                                             TxD = TxD,
35 35
 #'                                             Diff_PSI = Fit$deltaPSI)
36
+#'    }
36 37
 #' 
37 38
 #' @export
38 39
 #' @import Matrix
... ...
@@ -48,6 +48,7 @@ Generates of files to be loaded in IGV for visualization and interpretation of e
48 48
 }
49 49
 \examples{
50 50
 
51
+\dontrun{
51 52
    PathFiles<-system.file('extdata',package='EventPointer')
52 53
    DONSON_GTF<-paste(PathFiles,'/DONSON.gtf',sep='')
53 54
    PSRProbes<-paste(PathFiles,'/PSR_Probes.txt',sep='')
... ...
@@ -77,5 +78,7 @@ Generates of files to be loaded in IGV for visualization and interpretation of e
77 78
                   PathGTF=Directory,
78 79
                  EventsFile= EventsFound,
79 80
                  microarray='HTA-2_0')
81
+                 
82
+}
80 83
 
81 84
 }
... ...
@@ -24,7 +24,7 @@ events.
24 24
 Generates of files to be loaded in IGV for visualization and interpretation of events
25 25
 }
26 26
 \examples{
27
-
27
+\dontrun{
28 28
   data(AllEvents_RNASeq)
29 29
   data(SG_RNASeq)
30 30
 
... ...
@@ -39,4 +39,5 @@ Generates of files to be loaded in IGV for visualization and interpretation of e
39 39
    EventsTxt<-paste(system.file('extdata',package='EventPointer'),'/EventsFound_RNASeq.txt',sep='')
40 40
    PathGTF<-tempdir()
41 41
    EventPointer_RNASeq_IGV(Events,SG_RNASeq,EventsTxt,PathGTF)
42
+   }
42 43
 }
... ...
@@ -32,6 +32,7 @@ of contrast and all these data.frame are sotred in an unique list.
32 32
 Statistical analysis of alternative splicing events with the output of GetPSI_FromTranRef
33 33
 }
34 34
 \examples{
35
+\dontrun{
35 36
    data(EventXtrans)
36 37
    data(PSIss)
37 38
    # Design and contrast matrix:
... ...
@@ -45,6 +46,7 @@ Statistical analysis of alternative splicing events with the output of GetPSI_Fr
45 46
    Fit <- EventPointer_RNASeq_TranRef(Count_Matrix =  PSIss$ExpEvs,
46 47
                                       Statistic = 'LogFC',Design = Design,
47 48
                                       Contrast = Contrast)
49
+}
48 50
 
49 51
 
50 52
 }
... ...
@@ -24,6 +24,7 @@ Statistical analysis of the alternative splicing events. This function takes as
24 24
 Perform a statistical analysis based on permutation test
25 25
 }
26 26
 \examples{
27
+\dontrun{
27 28
       data(ArraysData)
28 29
       PSI_Arrays_list<-EventPointer:::getPSI(ArraysData)
29 30
       PSI_Arrays <- PSI_Arrays_list$PSI
... ...
@@ -33,6 +34,7 @@ Perform a statistical analysis based on permutation test
33 34
       # Statistical analysis:
34 35
       
35 36
       table <- PSI_Statistic(PSI_Arrays,Design = Design, Contrast = Contrast, nboot = 50)
37
+ }
36 38
       
37 39
 
38 40
 }
... ...
@@ -30,7 +30,7 @@ A list containing the results of the protein domain enrichment anaylisis. This l
30 30
 Analyze whether the presence of a protein domain increases or decreases in the condition under study.
31 31
 }
32 32
 \examples{
33
-
33
+\dontrun{
34 34
    data("EventXtrans")
35 35
    data("TxD")
36 36
    data("Fit")
... ...
@@ -43,5 +43,6 @@ Analyze whether the presence of a protein domain increases or decreases in the c
43 43
    Result_PDEA <- Protein_Domain_Enrichment(PathsxTranscript = EventXtrans,
44 44
                                             TxD = TxD,
45 45
                                             Diff_PSI = Fit$deltaPSI)
46
+   }
46 47
 
47 48
 }