Description Usage Arguments Value
FindPairs object permutate test Permutate Test on all intercellular interaction
1 2 3 4 5 6 7 8 9 10 | FP_test(object, ...)
## Default S3 method:
FP_test(object, ...)
## S3 method for class 'FindPairs'
FP_test(object, Asample_size = 3000,
Bsample_size = 3000, target = c("STP", "CCpTP", "TPpCC"),
fdr = 0.01, fdr_method = "BH", permutation_number = 5000,
dopar = FALSE, dopar.numbers = 2, random.seed = 42, ...)
|
object |
An object |
... |
Arguments passed to other methods |
Asample_size |
Permutating the number of cell expressing symbol A. Default 200.We generalized the concept of permutation test. In the traditional permutation test, the number of random substitutions should be the total number of corresponding targets(the target cell type). But, in our permutation test, we set this number as an adjustable parameter. This paramterhave two funcitons: one is to provide a fixed background distribution, and other is to reduce the impact of low number cells in the permutation. |
Bsample_size |
Permutating the number of cell expressing symbol B. Default 200' |
target |
This agrument is corresponding to the agrument |
fdr |
Filter for significant pvalue. Default 0.01 |
fdr_method |
Corrected method in multiple hypothesis testing. Default "BH". |
permutation_number |
The number of permutation. Default 5000 |
dopar |
Whether Parallel computation is allowed. Default FLASE. |
dopar.numbers |
If the |
random.seed |
Set the random seed. Default 42 |
Returns FindPairs object with the pvalue calculation stored in the Output slot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.