We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62488a8 commit 230bac2Copy full SHA for 230bac2
R/calcInteger.R
@@ -59,6 +59,14 @@ calcInteger <- function(scCNA,
59
# args
60
assay = match.arg(assay)
61
62
+
63
+ if (!is.null(assay(scCNA, 'smoothed_bincounts'))) {
64
+ warning("CopyKit detected that knnSmooth() has been performed.
65
+If working with knnSmooth datasets we recommend using assay segment_ratios:
66
+calcInteger(copykit, assay = 'segment_ratios')")
67
+ }
68
69
+ # getting datasets
70
if (assay == 'bincounts') {
71
bin <- SummarizedExperiment::assay(scCNA, 'bincounts')
72
}
0 commit comments