-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalculate_gs_scores_in_clusters.Rd
34 lines (29 loc) · 1.1 KB
/
calculate_gs_scores_in_clusters.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calculate_gs_scores_in_clusters.R
\name{calculate_gs_scores_in_clusters}
\alias{calculate_gs_scores_in_clusters}
\title{Calculate gene set score at cluster level}
\usage{
calculate_gs_scores_in_clusters(
scMuffinList = NULL,
partition_id = NULL,
ncells_min = 5,
alt = "g",
test = "t",
fract_min = 0.5
)
}
\arguments{
\item{scMuffinList}{scMuffinList object}
\item{partition_id}{identifier of the partition to be used}
\item{ncells_min}{minimum number of cells required for the calculation of the average signature in the cluster}
\item{alt}{alterative passed to [wilcox.test()] or [t.test()]}
\item{test}{type of test: t to use [t.test()]; wrs to use [wilcox.test()]}
\item{fract_min}{only clusters with this fraction of cells with not null gene set score will be considered}
}
\value{
scMuffinList with cluster level scores in `sMuffinList$cluster_data[[partition_id]]`. The element [summary] contains a clusters-by-gene sets table, while the element [full] the full result
}
\description{
Calculate gene set score at cluster level
}