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< topicks::TopQueue< Stat_, Index_ > > > cohens_d
 
std::vector< std::vector< topicks::TopQueue< Stat_, Index_ > > > auc
 
std::vector< std::vector< topicks::TopQueue< Stat_, Index_ > > > delta_mean
 
std::vector< std::vector< topicks::TopQueue< Stat_, Index_ > > > 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<topicks::TopQueue<Stat_, Index_> > > scran_markers::ScoreMarkersBestResults< Stat_, Index_ >::auc

Genes with the largest AUCs for each pairwise comparison between groups. Specifically, auc[i][j] is a queue containing the genes with the largest AUCs for the comparison of group i to group j, i.e., an AUC above 0.5 represents upregulation of that gene in i over j.

Each queue element consists of the index of the gene in the input matrix and the value of the AUC. The innermost queues can be converted to vectors of (index, effect size) pairs with queues_to_vectors().

If ScoreMarkersBestOptions::largest_auc = false, the innermost queues instead contain the markers with the smallest AUCs for each pairwise comparison. In this case, an AUC below 0.5 for auc[i][j] represents downregulation in i against j.

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

◆ cohens_d

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

Genes with the largest Cohen's d for each pairwise comparison between groups. Specifically, cohens_d[i][j] is a queue containing the genes with the largest Cohen's d for the comparison of group i to group j, i.e., a positive Cohen's d represents upregulation of that gene in i over j.

Each queue element consists of the index of the gene in the input matrix and the value of the Cohen's d. The innermost queues can be converted to vectors of (index, effect size) pairs with queues_to_vectors().

If ScoreMarkersBestOptions::largest_cohens_d = false, the innermost queues instead contain the markers with the smallest Cohen's d for each pairwise comparison. In this case, a negative Cohen's d for cohens_d[i][j] represents downregulation in i against j.

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

◆ delta_detected

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

Genes with the largest delta-detected values for each pairwise comparison between groups. Specifically, delta_detected[i][j] is a queue containing the genes with the largest delta-detected values for the comparison of group i to group j i.e., a positive delta-detected indicates upregulation of that gene in i over j.

Each queue element contains the index of the gene in the input matrix and the value of the delta-detected. The innermost queues can be converted to vectors of (index, effect size) pairs with queues_to_vectors().

If ScoreMarkersBestOptions::largest_delta_detected = false, the innermost queues instead contain the markers with the smallest delta-detected values for each pairwise comparison. In this case, a negative delta-detected for delta_detected[i][j] represents downregulation in i against j.

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

◆ delta_mean

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

Genes with the largest delta-means for each pairwise comparison between groups. Specifically, delta_mean[i][j] is a queue containing the genes with the largest delta-means for the comparison of group i to group j i.e., a positive delta-mean represents upregulation of that gene in i over j.

Each queue element consists of the index of the gene in the input matrix and the value of the delta-mean. The innermost queues can be converted to vectors of (index, effect size) pairs with queues_to_vectors().

If ScoreMarkersBestOptions::largest_delta_mean = false, the innermost queues instead contain the markers with the smallest delta-means for each pairwise comparison. In this case, a negative delta-mean for delta_mean[i][j] represents downregulation in i against j.

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: