View source: R/extract_from_api.R
extract_feat_acc | R Documentation |
Converts the list of 6 JSON object created by getting the features from UniProt. Used in the feature_to_dataframe(). Does not give order. Does not operate on List of lists - just the list of 6.
extract_feat_acc(features_list)
features_list |
A JSON object - list of 6 with features inside. Created as one of the lists in the list of lists by the get_features() function. |
A dataframe with features: "type", "description", "begin", "end" and adds accession, entryName and taxid for each row.
data("five_rel_list")
one_protein_features <- extract_feat_acc(five_rel_list[[1]])
head(one_protein_features)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.