find_low_variance_clms: Returns column names of those whose most common factor is...

View source: R/find_low_variance_clms.R

find_low_variance_clmsR Documentation

Returns column names of those whose most common factor is used by more than max_fraction_largest of the samples.

Description

Checks all columns of my_df except my_key and checks if the most common factor is more than max_fraction_largest.

Usage

find_low_variance_clms(
  my_df,
  max_fraction_largest = 0.9,
  my_key = get_default_sample_key()
)

Arguments

my_df

data.frame to search

max_fraction_largest

number to indicate the max proportion the top fraction can take up before being reported.

my_key

string to specify key column of the data.frame

Details

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ find_low_variance_clms ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Benjamin-Vincent-Lab/binfotron documentation built on Oct. 1, 2024, 8:33 p.m.