Description Usage Arguments Details Value Examples
Discard rows or columns whose NA value is greater than a certain percentage.
1 | filterData(data, alpha1 = 1, alpha2 = 1, filter_zero_as_NA = FALSE)
|
data |
The data needs to be filter. |
alpha1 |
The ratio of NA values in a column is greater than alpha1 and the column will be discarded. |
alpha2 |
The ratio of NA values in a row is greater than alpha1 and the row will be discarded. |
filter_zero_as_NA |
If this parameter is true, the 0 in the data will be treated as NA. |
Normally, alpha1 and alpha2 only need to use one of them.
Filtered data.
1 2 | data(COAD_Methy)
COAD_Methy <- filterData(COAD_Methy, alpha1 = 0.8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.