Updated summarize_EAF_values() and plot_EAF_values() functions to work with multiple qSIP2 objects. Plotting puts each group in it’s own facet, and each facet is sorted individually by EAF values. The top argument also works for each group independently, but the confidence value is shared across all groups.
Less strict isotope validation to allow comparing mismatched labeled with unlabeled sources. For example, you can compare 18O labeled against 12C unlabeled sources.
qSIP2 0.14
Added grouping variable to get_N_total_it() to summarize by metadata variables
Fixed bug where N_total_it should be just from unlabeled, not labeled + unlabeled
Added linear growth model in addition to the existing exponential model. Exponential is still default.
Renamed unlabeled and labeled to N_light_it and N_heavy_it, respectively
Growth calculations more finalized
when recalculating N_light_it, qSIP2 now recalculates N_heavy_it to keep N_total_it constant
qSIP2 0.13
Beta functions for growth calculations
Added time and total_abundance to qsip_source_data() as required arguments if you want to do the growth calculations
Added calculate_time_zero_abundance() to summarize the time zero abundance for each feature
Added run_growth_calculations() to calculate growth (r), birth (b) and death (d) rates from total abundances and EAF values
Fixed run_resampling() to not get confused when using sample names that are integers.
Fixed example_source_df and example_sample_df to remove the built in validation errors (missing isotoplog in the source data, and fractions as characters in the sample data). These dataframes are now valid objects for the package
Added validation checks for existing standard names in dataframes. For example, if trying to use a data.frame with source data that already has a source_mat_id column, but you designate a different column as the source_mat_id, it will throw an error. This is to prevent column name collisions and potential unintended consequences.
Added internal function validate_standard_names() to check for existing standard names in dataframes.
Added alpha function plot_resampling_convergence() to follow when the CoV of the resamplings converge to a stable value
Introduced ability to keep only successful resampling attempts, and discard failures. This keeps run_resampling() from failing if the sample count is low, but could result in feature_ids with less than the expected number of resamples. This is controlled by the allow_failures argument in run_resampling(). Two functions have been added to inspect the results of resampling: get_resample_counts() and plot_successful_resamples().
qSIP2 0.10
Added infer_source_data() function to infer source data from a sample data data frame
Removed requirement for gradient_pos_rel_amt column in the imported sample dataframe. If you have one you can still pass the column name. If you don’t, it will run the add_gradient_pos_rel_amt() silently using the gradient_pos_amt column, and provide a message that it is doing so.
Updated plot_sample_curves() and plot_source_wads() to use existing WAD values that were pre-calculated when making the qsip_data object. This means they now require a qsip_data object as input and no longer accept a sample or source object. The main workflow vignette was updated to reflect these changes.