thinning_percentile: Subset a coexpression network to the desired percentile

View source: R/lib.R

thinning_percentileR Documentation

Subset a coexpression network to the desired percentile

Description

This function subsets the edges from the passed network and keeps only those comprised in the desired top percentile.

Usage

thinning_percentile(x, top_percentile = 0.1)

Arguments

x

a coexpression network, as returned by write.coexpressionMatrix

top_percentile

the desired percentile (e.g. 0.1 means "keep only top 10%")

Value

a smaller version of the original matrix


ne1s0n/MTGOsc documentation built on April 20, 2022, 9:35 p.m.