table_pull: Pull Synapse Table into Dataframe The purpose. of this...

table_pullR Documentation

Pull Synapse Table into Dataframe The purpose. of this function is to pull info from a synapse table into a dataframe.

Description

Pull Synapse Table into Dataframe The purpose. of this function is to pull info from a synapse table into a dataframe.

Usage

table_pull(syn_id, feature_name, features, column_names, synap_import)

Arguments

syn_id

the synapse ID of the ie 'syn25556478'

feature_name

the column of the feature to treat as rows ie.'GeneName'

features

the values of the feature to pull ie. names(igraph::V(net))

column_names

the column values that. should be pulled for each feature-row ie c('ENSG', 'GeneName', 'OmicsScore', ' GeneticsScore', 'Logsdon')

synap_import

is the reticulated imported synapse from log_into_synapse()$synapse eg. syn

Value

a dataframe object

Examples

## Not run: 
syn <- log_into_synapse()

omics_scores <- table_pull( 
 syn_id ='syn25575156',
 feature_name = 'GeneName' ,
 features = names(igraph::V(net)),
 column_names = c('ENSG', 'GeneName', 'OmicsScore', 'GeneticsScore', 'Logsdon'),
 synap_import = syn$synapse
)

## End(Not run)

jgockley62/igraphNetworkExpansion documentation built on April 15, 2022, 12:14 a.m.