Browse code

[SCANPY] changes.

npervaiz authored on 04/10/2022 16:33:00
Showing 1 changed files
... ...
@@ -30,7 +30,6 @@ Scales the input sce object according to the input parameters
30 30
 data(scExample, package = "singleCellTK")
31 31
 \dontrun{
32 32
 sce <- runScanpyNormalizeData(sce, useAssay = "counts")
33
-sce <- runScanpyFindHVG(sce, useAssay = "counts")
34
-sce <- runScanpyScaleData(sce, useAssay = "counts")
33
+sce <- runScanpyScaleData(sce, useAssay = "scanpyNormData")
35 34
 }
36 35
 }
Browse code

Updates to scanpy

Irzam Sarfraz authored on 04/10/2022 14:16:00
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,36 @@
1
+% Generated by roxygen2: do not edit by hand
2
+% Please edit documentation in R/scanpyFunctions.R
3
+\name{runScanpyScaleData}
4
+\alias{runScanpyScaleData}
5
+\title{runScanpyScaleData
6
+Scales the input sce object according to the input parameters}
7
+\usage{
8
+runScanpyScaleData(
9
+  inSCE,
10
+  useAssay = "scanpyNormData",
11
+  scaledAssayName = "scanpyScaledData"
12
+)
13
+}
14
+\arguments{
15
+\item{inSCE}{(sce) object to scale}
16
+
17
+\item{useAssay}{Assay containing normalized counts to scale.}
18
+
19
+\item{scaledAssayName}{Name of new assay containing scaled data. Default
20
+\code{scanpyScaledData}.}
21
+}
22
+\value{
23
+Scaled \code{SingleCellExperiment} object
24
+}
25
+\description{
26
+runScanpyScaleData
27
+Scales the input sce object according to the input parameters
28
+}
29
+\examples{
30
+data(scExample, package = "singleCellTK")
31
+\dontrun{
32
+sce <- runScanpyNormalizeData(sce, useAssay = "counts")
33
+sce <- runScanpyFindHVG(sce, useAssay = "counts")
34
+sce <- runScanpyScaleData(sce, useAssay = "counts")
35
+}
36
+}