print.InteractionClassification {qvirus}R Documentation

Print Method for InteractionClassification Objects

Description

This method prints a summary of the InteractionClassification object, including the number of clusters, the cluster means, and the sizes of each cluster.

Usage

## S3 method for class 'InteractionClassification'
print(x, ...)

Arguments

x

An object of class InteractionClassification containing the results of the k-means clustering.

...

Additional arguments that may be passed to the print method.

Value

The function does not return a value; it prints the summary information to the console.

Examples

data(vl_3)
data(cd_3)
interaction_obj <- create_interactions(cd_3[,-1], vl_3[,-1])
class_obj <- InteractionClassification(interaction_obj$vlogs_diff, interaction_obj$cds_diff)

# Print the summary of the classification
print(class_obj)

[Package qvirus version 0.0.3 Index]