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

Description Usage Arguments Value Examples

View source: R/dendrospect_kinetic.R

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

1
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

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

Kaleido-Biosciences/phgrofit documentation built on Feb. 8, 2022, 5:16 a.m.