You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It states that I should pass a list, which in R would be using list(). Additionally, it also states that perplexity should be set to 0 to use this option
# perplexity_list - if perplexity==0 then perplexity combination will
# be used with values taken from perplexity_list. Default: NULL
# df - Degree of freedom of t-distribution, must be greater than 0.
# Values smaller than 1 correspond to heavier tails, which can often
# resolve substructure in the embedding. See Kobak et al. (2019) for
# details. Default is 1.0
So I ended up trying the following:
n-cells is 50k
This however gives the following error: Error in max(perplexity_list) : invalid 'type' (list) of argument
This is happening at this line: search_k <- n_trees * max(perplexity_list) * 3
Running max(list(30,505)) gives that same error. However, running length(list(30,505)) outputs 2 so I am guessing that maybe in R it is not meant to be a list but a vector instead? Since both max and length would work then. The only question would be anything afterwards depends on perplexity_list being a list and not a vector since indexing a list is different than a vector.
Additionally it would be good to have some verbose output letting the use know that multiple perplexities are being used.
The text was updated successfully, but these errors were encountered:
It states that I should pass a list, which in R would be using
list()
. Additionally, it also states thatperplexity
should be set to 0 to use this optionSo I ended up trying the following:
n-cells is 50k
This however gives the following error:
Error in max(perplexity_list) : invalid 'type' (list) of argument
This is happening at this line:
search_k <- n_trees * max(perplexity_list) * 3
Running
max(list(30,505))
gives that same error. However, runninglength(list(30,505))
outputs2
so I am guessing that maybe in R it is not meant to be a list but a vector instead? Since both max and length would work then. The only question would be anything afterwards depends onperplexity_list
being a list and not a vector since indexing a list is different than a vector.Additionally it would be good to have some verbose output letting the use know that multiple perplexities are being used.
The text was updated successfully, but these errors were encountered: