scran_markers
Marker detection for single-cell data
Loading...
Searching...
No Matches
scran_markers::ScoreMarkersBestResults< Stat_, Index_ > Struct Template Reference

Results for score_markers_best() and friends. More...

#include <score_markers_best.hpp>

Public Attributes

std::vector< std::vector< Stat_ > > mean
 
std::vector< std::vector< Stat_ > > detected
 
std::vector< std::vector< std::vector< std::pair< Index_, Stat_ > > > > cohens_d
 
std::vector< std::vector< std::vector< std::pair< Index_, Stat_ > > > > auc
 
std::vector< std::vector< std::vector< std::pair< Index_, Stat_ > > > > delta_mean
 
std::vector< std::vector< std::vector< std::pair< Index_, Stat_ > > > > delta_detected
 

Detailed Description

template<typename Stat_, typename Index_>
struct scran_markers::ScoreMarkersBestResults< Stat_, Index_ >

Results for score_markers_best() and friends.

Template Parameters
Stat_Floating-point type of the output statistics.
Index_Integer type of the matrix row indices.

Member Data Documentation

◆ auc

template<typename Stat_ , typename Index_ >
std::vector<std::vector<std::vector<std::pair<Index_, Stat_> > > > scran_markers::ScoreMarkersBestResults< Stat_, Index_ >::auc

Vector containing the genes with the largest AUCs for each pairwise comparison between groups. Specifically, auc[i][j][k] represents the k-th largest AUC for the comparison of group i to group j (i.e., a positive value indicates upregulation in i over j). Each pair contains the index of the gene in the input matrix and the value of the AUC.

If ScoreMarkersBestOptions::largest_auc = false, this instead contains the markers with the smallest AUCs.

This vector will be empty if ScoreMarkersBestOptions::compute_auc = false.

◆ cohens_d

template<typename Stat_ , typename Index_ >
std::vector<std::vector<std::vector<std::pair<Index_, Stat_> > > > scran_markers::ScoreMarkersBestResults< Stat_, Index_ >::cohens_d

Vector containing the genes with the largest Cohen's d for each pairwise comparison between groups. Specifically, cohens_d[i][j][k] represents the k-th largest Cohen's d for the comparison of group i to group j (i.e., a positive value indicates upregulation in i over j). Each pair contains the index of the gene in the input matrix and the value of the Cohen's d.

If ScoreMarkersBestOptions::largest_cohens_d = false, this instead contains the markers with the smallest Cohens'd d.

This vector will be empty if ScoreMarkersBestOptions::compute_cohens_d = false.

◆ delta_detected

template<typename Stat_ , typename Index_ >
std::vector<std::vector<std::vector<std::pair<Index_, Stat_> > > > scran_markers::ScoreMarkersBestResults< Stat_, Index_ >::delta_detected

Vector containing the genes with the largest delta-detecteds for each pairwise comparison between groups. Specifically, delta_detected[i][j][k] represents the k-th largest delta-detected for the comparison of group i to group j (i.e., a positive value indicates upregulation in i over j). Each pair contains the index of the gene in the input matrix and the value of the delta-detected.

If ScoreMarkersBestOptions::largest_delta_detected = false, this instead contains the markers with the smallest delta-detecteds.

This vector will be empty if ScoreMarkersBestOptions::compute_delta_detected = false.

◆ delta_mean

template<typename Stat_ , typename Index_ >
std::vector<std::vector<std::vector<std::pair<Index_, Stat_> > > > scran_markers::ScoreMarkersBestResults< Stat_, Index_ >::delta_mean

Vector containing the genes with the largest delta-means for each pairwise comparison between groups. Specifically, delta_mean[i][j][k] represents the k-th largest delta-mean for the comparison of group i to group j (i.e., a positive value indicates upregulation in i over j). Each pair contains the index of the gene in the input matrix and the value of the delta-mean.

If ScoreMarkersBestOptions::largest_delta_mean = false, this instead contains the markers with the smallest delta-means.

This vector will be empty if ScoreMarkersBestOptions::compute_delta_mean = false.

◆ detected

template<typename Stat_ , typename Index_ >
std::vector<std::vector<Stat_> > scran_markers::ScoreMarkersBestResults< Stat_, Index_ >::detected

Vector of length equal to the number of groups. Each inner vector corresponds to a group and contains the mean expression of each gene in that group.

◆ mean

template<typename Stat_ , typename Index_ >
std::vector<std::vector<Stat_> > scran_markers::ScoreMarkersBestResults< Stat_, Index_ >::mean

Vector of length equal to the number of groups. Each inner vector corresponds to a group and contains the mean expression of each gene in that group.


The documentation for this struct was generated from the following file: