Description Usage Arguments Value Examples
Calculate a permutation test result for nearest neighbors to say for each sample to see if the neighbor distance something seen under the null assumption
1 2 3 4 5 6 7 8 9 | nn_comparison_permutation_test(x, markerA, markerB, reference,
from_reference = TRUE, permutations = 20, subset = NULL)
## S4 method for signature
## 'ImageSet,character,character,character,logical,numeric,character'
nn_comparison_permutation_test(x,
markerA, markerB, reference, from_reference = TRUE, permutations = 20,
subset = NULL)
|
x |
IrisSpatialFeatures ImageSet object that has had extract nearest neighbors run |
markerA |
First marker |
markerB |
Second marker |
reference |
Reference marker |
from_reference |
If true calculate distance from the reference to the markers by NN |
permutations |
Set to 100 by default |
data.frame of markers and distances
1 2 3 | #loading pre-read dataset
dataset <- IrisSpatialFeatures_data
nn_comparison_permutation_test(dataset)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.