View source: R/Af_add_node_feature.R
Af_add_node_feature | R Documentation |
Function to add node features to an AntibodyForests-object
Af_add_node_feature(AntibodyForests_object, feature.df, feature.names)
AntibodyForests_object |
AntibodyForests-object, output from Af_build() |
feature.df |
Dataframe with features for each node. Must contain columns sample_id, clonotype_id, barcode and the features to be added. |
feature.names |
Character vector with the names of the features to be added. |
Returns an AntibodyForests-object with the features added to the nodes.
af <- Af_add_node_feature(AntibodyForests::small_af,
feature.df = AntibodyForests::small_vdj,
feature.names = c("VDJ_dgene", "VDJ_jgene"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.