df.remove.empty.rows.and.columns | R Documentation |
This function takes a data frame and a threshold value, and removes all rows and columns that contain only zeros or the threshold value.
df.remove.empty.rows.and.columns(
df = UVI.assignment.filtered.3.HF,
suffix = substitute_deparse(df),
rows = "rows",
cols = "cols",
thr.cell.empty = 0,
plot_stats = TRUE,
...
)
df |
A data frame. |
suffix |
A suffix to add to the plot titles. |
rows |
The name of the variable that will store the fraction of rows that were removed. |
cols |
The name of the variable that will store the fraction of columns that were removed. |
thr.cell.empty |
The threshold value below a cell is considered "empty". |
plot_stats |
Whether to plot the fraction of rows and columns that were removed. |
... |
Additional arguments to pass to |
A data frame with the empty rows and columns removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.