fcor: Feature correlations/distances

mdsplotR Documentation

Feature correlations/distances

Description

Feature correlations/distances

Usage

mdsplot(distmat, title = NULL)

fcor(object, verbose = TRUE)

scor(object, verbose = TRUE)

fdist(object, method = "cor")

sdist(object, method = "cor")

Arguments

distmat

distance matrix

title

NULL or string

object

SummarizedExperiment

verbose

TRUE or FALSE

method

'cor', 'euclidian', etc

Value

matrix

Examples

# Correlations
    object <- twofactor_sumexp()
    scor(object)               %>%  pheatmap::pheatmap()
    fcor(object)               %>%  pheatmap::pheatmap()
# Distances
    sdist(object, 'cor')       %>% mdsplot('samples: cor')
    sdist(object, 'euclidian') %>% mdsplot('samples: euclidian')
    fdist(object, 'cor')       %>% mdsplot('features: cor')
    fdist(object, 'euclidian') %>% mdsplot('features: euclidian')

bhagwataditya/importomics documentation built on July 11, 2024, 11:26 a.m.