View source: R/prop_na_class.R
prop_na | R Documentation |
A Fisher's exact test is used to compare the number of missing values in each group. Multiple test corrected p-values are computed to indicate whether there is a significant difference in the number of missing values across groups for each feature.
prop_na(alpha = 0.05, mtc = "fdr", factor_name, ...)
alpha |
(numeric) The p-value cutoff for determining significance. The default is |
mtc |
(character) Multiple test correction method. Allowed values are limited to the following:
The default is |
factor_name |
(character) The name of a sample-meta column to use. |
... |
Additional slots and values passed to |
A prop_na
object with the following output
slots:
p_value | (data.frame) The probability of observing the calculated statistic. |
significant | (data.frame) TRUE if the calculated p-value is less than the supplied threshold (alpha). |
na_count | (data.frame) The number of NA values per group of the chosen factor. |
struct object
A prop_na
object inherits the following struct
classes:
[prop_na]
>> [model]
>> [struct_class]
M = prop_na(
alpha = 0.05,
mtc = "fdr",
factor_name = "V1")
M = prop_na(factor_name='Species')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.