Proofreading and
Uniform default values for scaledHydropathyLocal and chargeCalculationLocal.
Window size default = 9
... | ... |
@@ -226,7 +226,7 @@ chargeCalculationGlobal <- function( |
226 | 226 |
#' or vector of single characters. |
227 | 227 |
#' It also supports a single character string that specifies |
228 | 228 |
#' the location of a .fasta or .fa file. |
229 |
-#' @param window a positive, odd integer. 7 by default. |
|
229 |
+#' @param window a positive, odd integer. 9 by default. |
|
230 | 230 |
#' Sets the size of sliding window, must be an odd number. |
231 | 231 |
#' The window determines the number of residues to be analyzed and averaged |
232 | 232 |
#' for each position along the sequence. |
... | ... |
@@ -297,7 +297,7 @@ chargeCalculationGlobal <- function( |
297 | 297 |
#' plot(gg) |
298 | 298 |
|
299 | 299 |
|
300 |
-chargeCalculationLocal <- function(sequence, window = 7, proteinName = NA, |
|
300 |
+chargeCalculationLocal <- function(sequence, window = 9, proteinName = NA, |
|
301 | 301 |
pH = 7.0, pKaSet = "IPC_protein", |
302 | 302 |
printCitation = FALSE, plotResults = FALSE, ...) { |
303 | 303 |
seqVector <- sequenceCheck(sequence = sequence, method = "stop", |
... | ... |
@@ -25,7 +25,7 @@ |
25 | 25 |
#' @param uniprotAccession character string specifying the UniProt Accession of |
26 | 26 |
#' the protein of interest. Used to fetch predictions from IUPreds REST API. |
27 | 27 |
#' Default is NA. Keep as NA if you do not have a UniProt Accession. |
28 |
-#' @param window a positive, odd integer. 51 by default. |
|
28 |
+#' @param window a positive, odd integer. 9 by default. |
|
29 | 29 |
#' Sets the size of sliding window, must be an odd number. |
30 | 30 |
#' The window determines the number of residues to be analyzed and averaged |
31 | 31 |
#' for each position along the sequence. 51 is default for |
... | ... |
@@ -174,7 +174,7 @@ idprofile <- function( |
174 | 174 |
uniprotAccession = NA, |
175 | 175 |
proteinName = NA, |
176 | 176 |
iupredType = "long", |
177 |
- window = 51, |
|
177 |
+ window = 9, |
|
178 | 178 |
pH = 7.2, |
179 | 179 |
pKaSet = "IPC_protein", |
180 | 180 |
structuralTendencyType = "bar", |
... | ... |
@@ -199,12 +199,6 @@ idprofile <- function( |
199 | 199 |
plotResults = TRUE, |
200 | 200 |
pKaSet = pKaSet, |
201 | 201 |
proteinName = proteinName) |
202 |
- hydropPlot <- scaledHydropathyLocal( |
|
203 |
- sequence = sequence, |
|
204 |
- window = window, |
|
205 |
- plotResults = TRUE, |
|
206 |
- pKaSet = pKaSet, |
|
207 |
- proteinName = proteinName) |
|
208 | 202 |
tendencyPlot <- structuralTendencyPlot( |
209 | 203 |
sequence = sequence, |
210 | 204 |
graphType = structuralTendencyType, |
... | ... |
@@ -5,7 +5,7 @@ |
5 | 5 |
#' showing the calculated scores for each window along the sequence. |
6 | 6 |
#' @inheritParams sequenceCheck |
7 | 7 |
#' |
8 |
-#' @param window a positive, odd integer. 7 by default. |
|
8 |
+#' @param window a positive, odd integer. 9 by default. |
|
9 | 9 |
#' Sets the size of sliding window, must be an odd number. |
10 | 10 |
#' The window determines the number of residues to be analyzed and averaged |
11 | 11 |
#' for each position along the sequence. |
... | ... |
@@ -6,7 +6,7 @@ |
6 | 6 |
\usage{ |
7 | 7 |
chargeCalculationLocal( |
8 | 8 |
sequence, |
9 |
- window = 7, |
|
9 |
+ window = 9, |
|
10 | 10 |
proteinName = NA, |
11 | 11 |
pH = 7, |
12 | 12 |
pKaSet = "IPC_protein", |
... | ... |
@@ -21,7 +21,7 @@ or vector of single characters. |
21 | 21 |
It also supports a single character string that specifies |
22 | 22 |
the location of a .fasta or .fa file.} |
23 | 23 |
|
24 |
-\item{window}{a positive, odd integer. 7 by default. |
|
24 |
+\item{window}{a positive, odd integer. 9 by default. |
|
25 | 25 |
Sets the size of sliding window, must be an odd number. |
26 | 26 |
The window determines the number of residues to be analyzed and averaged |
27 | 27 |
for each position along the sequence.} |
... | ... |
@@ -43,7 +43,7 @@ disorder based on environmental conditions. Regions of predicted |
43 | 43 |
environmental sensitivity are highlighted. See the respective functions |
44 | 44 |
for more details. This is skipped if uniprotAccession = NA.} |
45 | 45 |
|
46 |
-\item{window}{a positive, odd integer. 51 by default. |
|
46 |
+\item{window}{a positive, odd integer. 9 by default. |
|
47 | 47 |
Sets the size of sliding window, must be an odd number. |
48 | 48 |
The window determines the number of residues to be analyzed and averaged |
49 | 49 |
for each position along the sequence. 51 is default for |
... | ... |
@@ -18,7 +18,7 @@ a vector of single characters, or an AAString object. |
18 | 18 |
It also supports a single character string that specifies |
19 | 19 |
the path to a .fasta or .fa file.} |
20 | 20 |
|
21 |
-\item{window}{a positive, odd integer. 7 by default. |
|
21 |
+\item{window}{a positive, odd integer. 9 by default. |
|
22 | 22 |
Sets the size of sliding window, must be an odd number. |
23 | 23 |
The window determines the number of residues to be analyzed and averaged |
24 | 24 |
for each position along the sequence.} |