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

Description Usage Arguments Value

View source: R/simfisher.R

Description

Given the incidence table for selected features (i.e. pinmat generated by calc_pins), computes 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

1
2
sim_fisher_wrapper(pinmat_df, pins_df, njobs = NULL, nsim = 150,
  nsweep = 200, seedme = 123)

Arguments

pinmat_df

The incidence table generated by findpins.

pins_df

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

nsim

the number of permutations/simulations. Default value: 150.

Value

a list of two numeric vector objects. The Fisher's test p-values for the observation (true) and for the permutations (sim).


KrasnitzLab/SCclust documentation built on Dec. 11, 2021, 5:12 p.m.