add_sequence_length: Add a column to the existing dataframe

Description Usage Arguments Value Examples

View source: R/feature_engineering.r

Description

Calculate length of the sequence column

Usage

1
add_sequence_length(df_sequence, name_seq_col)

Arguments

df_sequence

global dataframe

name_seq_col

Name of the Sequence Column

Value

df_updated

Examples

1
2
df <- data.frame("id" = c('ID1','ID2') , "Sequnce_DNA" = c('AAAGGGCTTCCC','AGGGGGTTTCCC'))
df_new <- add_sequence_length(df, 'Sequnce_DNA')

batra-akshita/rnalab documentation built on March 24, 2020, 12:03 a.m.