Skip to content
Permalink
8472ea875e
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
 
 
Cannot retrieve contributors at this time
25 lines (23 sloc) 875 Bytes
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/add_coldata_classification.R
\name{add_coldata_classification}
\alias{add_coldata_classification}
\title{Add Classification Counts to colData}
\usage{
add_coldata_classification(summarized_experiment, assay_index = 3,
to_coldata = F, column_data = NULL)
}
\arguments{
\item{assay_index}{Integer - index of assay of classification made by mclust}
\item{to_coldata}{Logical - should the count matrix be added to colData/column_data?}
\item{column_data}{Data frame like object}
}
\value{
SummarizedExperiment or data frame with additonal columns.
}
\description{
This function adds new columns showing the counts of the overall classification of a sample.
}
\details{
If summarized_experiment is not a SummarizedExperiment then give a matrix where samples are in columns and genes are in rows.
}