data_transform: Data Transformation and filtration Transformation of data...

View source: R/Misc.R

data_transformR Documentation

Data Transformation and filtration Transformation of data using one of the four mentioned methods and filtering based on median value

Description

Data Transformation and filtration Transformation of data using one of the four mentioned methods and filtering based on median value

Usage

data_transform(df,transformation,featurelist, medianthres)

Arguments

df

numerical dataframe with rows having series of values for a single feature

transformation

type of transformation method ”Log2' or 'Z-score' or 'quantile' or 'NA' (no) transformaiton

featurelist

listing of feature names or ids to measure correlation between

medianthres

(optional)features have median below this numerical value are filtered or removed

Examples

transdf<- data_transform(df=GTEX[-1],transformation='log2',
                         featurelist=GTEX$Description)
transdf<- data_transform(df=GTEX[-1],transformation='log2',
                         featurelist=GTEX$Description, medianthres=1)


DKundnani/FeatureCorr documentation built on April 24, 2022, 7:59 p.m.