Description Usage Arguments Value Examples
View source: R/feature_engineering.r
Calculate GC content of the sequence column
1 | add_gc_content(df_sequence, name_seq_col)
|
df_sequence |
dataframe |
name_seq_col |
Name of the sequence column |
A new dataframe with existing columns and added column named gc_content
1 2 | df <- data.frame("id" = c('ID1','ID2') , "Sequnce_DNA" = c('AAAGGGCTTCCC','AGGGGGTTTCCC'))
df_new <- add_gc_content(df, 'Sequnce_DNA')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.