pair_scatter: Pair Scatter Scatter between two chosen features.

View source: R/corrs.R

pair_scatterR Documentation

Pair Scatter Scatter between two chosen features.

Description

Pair Scatter Scatter between two chosen features.

Usage

pair_scatter(df,featurelist, feature1, feature2, corrmeth, col)

Arguments

df

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

featurelist

list of features in the sequence as it occurs in the Dataframe

feature1, feature2

Features to be compared

corrmeth

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

col

Color for scatter plot, default="#1f78b4"

Examples

pscatter <- pair_scatter(df=TCGA40,featurelist=rownames(TCGA40),
                         feature1="RNASEH2A",feature2="PCNA", corrmeth='pearson', col= "#1f78b4")
pscatter <- pair_scatter(df=logTCGA40,featurelist=rownames(logTCGA40),
                         feature1="RNASEH2A", feature2="PCNA", corrmeth='pearson', col= "#b45b1f")


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