Browse code

prototyped removeFeatures.

Jaehyun Joo authored on 16/03/2022 02:35:23
Showing 3 changed files

... ...
@@ -20,6 +20,10 @@ export(reduceFeatures)
20 20
 export(reducePCA)
21 21
 export(reducePLSDA)
22 22
 export(reduceTSNE)
23
+export(removeBlankRatio)
24
+export(removeFeatures)
25
+export(removeMiss)
26
+export(removeRSD)
23 27
 export(scaleCols)
24 28
 export(scaleRows)
25 29
 importClassesFrom(SummarizedExperiment,SummarizedExperiment)
... ...
@@ -14,3 +14,8 @@ setGeneric("reduceFeatures", function(x, ...)
14 14
     standardGeneric("reduceFeatures")
15 15
     )
16 16
 
17
+##' @export
18
+setGeneric("removeFeatures", function(x, ...)
19
+    standardGeneric("removeFeatures")
20
+    )
21
+
... ...
@@ -51,7 +51,7 @@ log2-transformed before calculating a correlation matrix. Ignored if type
51 51
 is "pairs". Choose the same value used in the feature grouping.}
52 52
 }
53 53
 \value{
54
-A pair plot or graph.
54
+A graph or pair plot.
55 55
 }
56 56
 \description{
57 57
 Visualizes feature grouping results produced by \link{clusterFeatures}. A
... ...
@@ -70,7 +70,7 @@ se <- clusterFeatures(faahko_se, i = "knn_vsn", rtime_var = "rtmed")
70 70
 plotRTgroup(se, i = "knn_vsn", group = "FG.22")
71 71
 
72 72
 ## Pairwise scatter
73
-plotRTgroup(se, i = 3, group = "FG.01", cor_method = "spearman",
73
+plotRTgroup(se, i = 3, group = "FG.22", cor_method = "spearman",
74 74
             log2 = TRUE, type = "pairs")
75 75
 
76 76
 }