dendrospect_kinetic: dendrospect_kinetic Copyright (c) 2019. Kaleido Biosciences....

View source: R/dendrospect_kinetic.R

dendrospect_kineticR Documentation

dendrospect_kinetic Copyright (c) 2019. Kaleido Biosciences. All Rights Reserved

Description

Allows the user to easily acess the OD600 and pH kinetic data corresponding with a given cluster. This is intended to allow for easier examination of the underlying data that is produced with the dendrospect function. Note that the phgrofit_data should first be scaled before using this function. This can be acomplished with scale_phgrofit() function.

Usage

dendrospect_kinetic(phgropro_data, phgrofit_data, k = 8)

Arguments

phgropro_data

This is the data origniating from phgropro or one of it's modifying functions such as avg_phgropro. It must contain the same Sample.IDs as phgrofit data.

phgrofit_data

This is the data origniating from phgrofit or one of it's modifying functions such as scale_phgrofit or avg_phgrofit.

k

The number of clusters.

Value

a dataframe containing the phgropro data with a column named dendrogram_cluster that represents the cluster the observations correspond to.

Examples

#Returns a dataframe mapping which of the 8 clusters a Sample.ID belongs to.
## Not run: df = dendrospect_model(phgropro_data,k = 8)

baynec2/phgrofit documentation built on March 24, 2024, 7:10 a.m.