get_top_tags: Extract Top Tags from Ogset Class Element

View source: R/linear_mod.R

get_top_tagsR Documentation

Extract Top Tags from Ogset Class Element

Description

Extract Top Tags from Ogset Class Element

Usage

get_top_tags(ogset, rank_stat, n = 100)

Arguments

ogset

an ogset class element

rank_stat

character, the name of the column of ogset@stat used as ranking feature

n

numeric how many tags should the function extract

get_top_tags extract the top tags from an ogset class element and returns a named numeric vector with the top statistics and the ID of the associated elements (orthogroups ID)

if n is Inf, the function return all the tags ranked by the ranking statistics


OthoMantegazza/crossr documentation built on Feb. 1, 2023, 4:15 a.m.