primefeature_corr: Prime Feature Correlation Get Correlation Coefficient and its...

View source: R/corrs.R

primefeature_corrR Documentation

Prime Feature Correlation Get Correlation Coefficient and its distribution of a single prime feature with all the other features

Description

Prime Feature Correlation Get Correlation Coefficient and its distribution of a single prime feature with all the other features

Usage

primefeature_corr(df,featurelist,primefeature,corrmeth,quantiles)

Arguments

df

A dataframe with echo row corresponding to a feature

featurelist

listing of feature names or ids to measure correlation between

primefeature

one feature of interest to measure correlation against all other features

corrmeth

Correlation method used. 'pearson' or 'spearman' (default='pearson')

quantiles

list of corresponding probabilities for quantiles to be obtained (default = c(0,0.01,.01,.05,0.10,.25,.50,.75,.90,.95,.99,.999,1) )

Examples

transdf<- data_transform(df=GTEX[-1],transformation='log2',
                         featurelist=GTEX$Description, medianthres=1)
inputdf<-transdf[[1]] #First item in the list returned is the transformed Data
primefcorr <- primefeature_corr(df=inputdf,featurelist=rownames(inputdf),primefeature="RNASEH2A");


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