Browse code

correcting foldindexR window

wmm27 authored on 11/12/2022 17:32:03
Showing 1 changed files

... ...
@@ -19,6 +19,11 @@
19 19
 #'   require the UniProt Accession to make a proper connection to the IUPred2A
20 20
 #'   REST API. If the UniProt Accession is not specified, the IUPred plot is
21 21
 #'   skipped.
22
+#'   
23
+#'   Described in McFadden, W. M., & Yanowitz, J. L. (2022).
24
+#' idpr: A package for profiling and analyzing Intrinsically Disordered
25
+#' Proteins in R. PloS one,
26
+#' \href{https://doi.org/10.1371/journal.pone.0266929}{17(4), e0266929}
22 27
 #' @param sequence amino acid sequence as a single character string or vector of
23 28
 #'    single characters. It also supports a single character string that
24 29
 #'    specifies the location of a .fasta or .fa file.
... ...
@@ -218,7 +223,7 @@ idprofile <- function(
218 223
         orderPromoting = orderPromoting,
219 224
         proteinName = proteinName)
220 225
     foldIndexPlot <- foldIndexR(sequence = sequence,
221
-        foldIndexWindow = foldIndexWindowSize,
226
+        window = foldIndexWindowSize,
222 227
         pH = foldIndex_pH,
223 228
         proteinName = proteinName,
224 229
         pKaSet = pKaSet)