Bio_OnescRNAseq: process one scRNAseq dataset to generate biological metadata

Description Usage Arguments Value See Also Examples

View source: R/scRNABatchQC.R

Description

Generate metadata (HVGs, PC-related genes, pathways) for one single cell RNAseq represented by gene-cell count table

Usage

1
2
3
4
5
6
7
Bio_OnescRNAseq(
  scdata,
  nHVGs = 1000,
  nPCs = 10,
  PCind = 1,
  organism = "mmusculus"
)

Arguments

scdata

a SingleCellExperiment object; (results from Tech_OnescRNAseq

nHVGs

integer; the number of highly variable genes (default: 1000)

nPCs

integer: the number of principal components (default: 10)

PCind

integer; which principal component for exploring biological featues (default: 1; the first principal component will be used to find genes highly correlated with PCA 1); PCind should be less than nPC

organism

string; the organism of single cell RNAseq datasets; if supported by WebGestaltR, functional enrichment analysis will be performed (defeault: mmusculus)

Value

a new SingleCellExperiment object by adding features into the the elementMetadata and metadata slots of the input object:

See Also

Process_OnescRNAseq , Tech_OnescRNAseq

Examples

1
2
3
4
5
library(scRNABatchQC)
sce<-Tech_OnescRNAseq(input="https://github.com/liuqivandy/scRNABatchQC/raw/master/bioplar1.csv.gz")
sce<-Bio_OnescRNAseq(sce)
head(sce@rowRanges@elementMetadata)
sce@metadata$hvgPathway

liuqivandy/scRNABatchQC documentation built on March 24, 2021, 11:01 p.m.