Skip to content
Permalink
3fcdd3ab97
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
1 contributor

Users who have contributed to this file

31 lines (27 sloc) 889 Bytes
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/preprocess_coldata.R
\name{filter_single_level}
\alias{filter_single_level}
\title{Filter Single Level Factors}
\usage{
filter_single_level(
summarized_experiment,
exception = NULL,
unnest = T,
factorize = F,
verbose = T
)
}
\arguments{
\item{summarized_experiment}{SummarizedExperiment object or a simple data frame}
\item{exception}{Character - Names of columns one wantes to keep despite having only 1 level}
\item{unnest}{Logical - Should the data be unnested (meaning having lists in them or if the data comes directl from a summarized experiment)}
\item{factorize}{Logical - Should thr}
\item{...}{further variables for mmRmeta::factorize_columns}
}
\value{
Retunrs a DataFrame or a SummarizedExperiment
}
\description{
Function to filter out columns containing only single level factors.
}