phospho_site_info: Create a dataframe of protein features from JSON object

View source: R/extract_from_api.R

phospho_site_infoR Documentation

Create a dataframe of protein features from JSON object

Description

Reduces data.frame of features to just phosphorylation sites. Uses a subsetting step and a grep with the pattern "Phospho".

Usage

phospho_site_info(features)

Arguments

features

A dataframe of protein features, for example created by the feature_to_dataframe() function.

Value

A dataframe that only contains protein phosphorylation sites from Uniprot

Examples

data("five_rel_data")
sites <- phospho_site_info(five_rel_data)
head(sites)



brennanpincardiff/drawProteins documentation built on March 8, 2024, 8:15 a.m.