Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dotprops do not get resampled labels #360

Closed
jefferis opened this issue Nov 13, 2017 · 1 comment
Closed

dotprops do not get resampled labels #360

jefferis opened this issue Nov 13, 2017 · 1 comment
Labels

Comments

@jefferis
Copy link
Collaborator

resample actually generates resampled labels, but dotprops does not assign them correctly. Simple thinko, should assign labels after resampling.

dotprops.neuron<-function (x, Labels = NULL, resample = NA, ...) 
{
    if (is.null(Labels) || isTRUE(Labels)) 
        Labels = x$d$Label
    else if (is.logical(labels) && labels == FALSE) 
        Labels = NULL
    if (is.finite(resample)) 
        x = resample(x, stepsize = resample)
    dotprops(xyzmatrix(x), Labels = Labels, ...)
}
@jefferis jefferis added the bug label Nov 13, 2017
@jefferis
Copy link
Collaborator Author

@alexanderbates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant