Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
eScience
ICoVeR
Commits
a1e3d924
Commit
a1e3d924
authored
Oct 15, 2015
by
Bertjan Broeksema
Browse files
Increase the limit for points to be shown from 1000 to 2500.
parent
2dd187b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
R/dimred.R
R/dimred.R
+4
-4
No files found.
R/dimred.R
View file @
a1e3d924
...
@@ -86,9 +86,9 @@ p.plotdata <- function(dim.red.res, labels, processedData, type) {
...
@@ -86,9 +86,9 @@ p.plotdata <- function(dim.red.res, labels, processedData, type) {
}
}
# If we have a large number of individuals the JSON will be too big and the visualisation will fail.
# If we have a large number of individuals the JSON will be too big and the visualisation will fail.
# TODO: fine-tune the
10
00 individuals threshold
# TODO: fine-tune the
25
00 individuals threshold
individualProjections
<-
NULL
individualProjections
<-
NULL
includeIndividuals
<-
nrow
(
dim.red.res
[[
indName
]]
$
coord
)
<
10
00
includeIndividuals
<-
nrow
(
dim.red.res
[[
indName
]]
$
coord
)
<
25
00
if
(
includeIndividuals
)
{
if
(
includeIndividuals
)
{
individualProjections
<-
p.projections
(
dim.red.res
,
column.results
=
indName
)
individualProjections
<-
p.projections
(
dim.red.res
,
column.results
=
indName
)
...
@@ -165,8 +165,8 @@ p.mca.plotdata <- function(dim.red.res, labels, processedData, nd) {
...
@@ -165,8 +165,8 @@ p.mca.plotdata <- function(dim.red.res, labels, processedData, nd) {
}
}
# If we have a large number of individuals the JSON will be too big and the visualisation will fail.
# If we have a large number of individuals the JSON will be too big and the visualisation will fail.
# TODO: fine-tune the
10
00 individuals threshold
# TODO: fine-tune the
25
00 individuals threshold
includeIndividuals
<-
nrow
(
processedData
)
<
10
00
includeIndividuals
<-
nrow
(
processedData
)
<
25
00
if
(
!
includeIndividuals
)
{
if
(
!
includeIndividuals
)
{
individualProjections
<-
NULL
individualProjections
<-
NULL
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment