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 | interaction_proportion_comparison_permutation_test(x, reference, phenotype_A,
phenotype_B, permutations = 20, subset = NULL, verbose = FALSE, ...)
## S4 method for signature 'ImageSet'
interaction_proportion_comparison_permutation_test(x,
reference, phenotype_A, phenotype_B, permutations, subset, verbose)
|
x |
IrisSpatialFeatures ImageSet object that has had extract nearest neighbors run |
reference |
Reference phenotype to compare proportions around |
phenotype_A |
First cell type to compare proportions of |
phenotype_B |
Second cell type to compare proportions of |
permutations |
Set to 100 by default |
subset |
Limit permutations to these types |
data.frame of markers and distances
1 2 3 | #loading pre-read dataset
dataset <- IrisSpatialFeatures_data
interaction_permutation_test(dataset)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.