simFisher_parallel: Simulate the Fisher's test p-values.

View source: R/simFisherWrapper.R

simFisher_parallelR Documentation

Simulate the Fisher's test p-values.

Description

Given the incidence table for selected features (i.e. pinmat generated by findpins), compute the Fisher's test p-values for pairwise comparisons. Also perform permutations on the incidence table and compute a set of Fisher's test p-values for each permutation.

Usage

simFisher_parallel(pins, pinmat, sim_round = 500)

Arguments

pins

The pin generated by findpins. The bin information for the selected feature set.

pinmat

The incidence table generated by findpins.

sim_round

An integer. The number of permutations/simulations. Default value: 500.

Value

A list of two numeric vector objects. The Fisher's test p-values for the observation (true_fisherPV) and for the permutations (sim_fisherPV).


JunyanSong/SCclust documentation built on April 16, 2022, 8:44 p.m.