SHARP_fpart: Run SHARP for clustering single-cell RNA data whose size...

Description Usage Arguments Details Value Author(s) Examples

View source: R/SHARP_unlimited2.R

Description

Because the current R lacks 64-bit integers support, it is recommended to divided the huge-size data into several smaller partitions first.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
SHARP_fpart(
  scExp,
  ensize.K,
  reduced.ndim,
  partition.ncells,
  hmethod,
  N.cluster,
  enpN.cluster,
  indN.cluster,
  minN.cluster,
  maxN.cluster,
  sil.thre,
  height.Ntimes,
  flag,
  rM,
  rN.seed
)

Arguments

scExp

a list of input single-cell expression matrices, where each element represents a partition of the huge-size single-cell RNA-seq data matrix.

viewflag

a logic to indicate whether to save the ensemble random-projection feature vectors for further visualization. The default is TRUE.

...

other parameters similar to those used in SHARP() function. Please refer to SHARP() for details.

Details

This is a complementary SHARP function to deal with the case where R itself can not handle a matrix whose non-zero element is over 2,147,483,647. The huge-size matrix is first divided into several partitions which are susequently saved into a list. SHARP_unlimited() can directly deal with this list.

Value

a list containing the SHARP clustering results, distribution of the clustering results, the predicted optimal number of clusters, time SHARP consumes for clustering, some intermediate results including clustering results by each random-projection based hierarchical clustering and other related statstical information including number of cells, genes, reduced dimensions and number of applications of random projection.

Author(s)

Shibiao Wan <shibiao@pennmedicine.upenn.edu>

Examples

1
enresults = SHARP_unlimited(scExp)

shibiaowan/SHARP documentation built on April 28, 2021, 1:56 p.m.