Create a results table from a cpam object
results.Rd
Create a results table from a cpam object
Arguments
- cpo
a cpam object
- p_threshold
numerical; threshold for adjusted p-values; default is 0.05
- p_type
character; choose the type of p-value. Options are "p_gam" (default) or "p_mvn" (see
compute_p_values()
for details).- min_lfc
numerical; maximum absolute log (base 2) fold change must exceed this minimum value; default is 0
- min_count
numerical; maximum of the modelled counts evaluated at the set of observed time points must exceed this minimum value for
- aggregate_to_gene
logical; filter by gene-aggregated p-values
- add_lfc
logical; add log (base 2) fold changes for each time point
- add_counts
logical; add modelled counts for each time point
- cp_type
character; model-selection rule used to select the changepoint
- shape_type
character; "shape1" to include unconstrained or otherwise "shape2"
- summarise_to_gene
logical; return gene-level results only
- remove_null_targets
logical; remove targets with null shapes (default is T). If F, targets with null shapes will be included if the aggregated p-value for the corresponding gene passes the specified filtering thresholds.
Details
This function is usually called after
compute_p_values()
, estimate_changepoint
, and select_shape
have
been run. The function has several useful filters such as adjusted p-value
thresholds, minimum log-fold changes, and minimum counts.