Skip to content

Commit

Permalink
rann to anno
Browse files Browse the repository at this point in the history
  • Loading branch information
lmw123 committed Jun 14, 2022
1 parent 1b8dafd commit 871fbff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,10 @@ rna.data = pbmclapply(
rna.data = do.call(rbind, rna.data)
rna.data = CreateSeuratObject(rna.data)
rna.data = FindVariableFeatures(rna.data, nfeatures = 2000)
features = VariableFeatures(rna.data)[grep("^TR", VariableFeatures(rna.data), invert = T)]
features = features[grep("^IG", features, invert = T)]
features = VariableFeatures(rna.data)
rna.data = ScaleData(rna.data, features = features)
rna.data = RunPCA(rna.data, features = features)
rna.data = FindNeighbors(rna.data, dims = 1:50, nn.method = "rann")
rna.data = FindNeighbors(rna.data, dims = 1:50)
rna.data = FindClusters(rna.data, resolution = 0.5, algorithm = 2)
rna.data = RunUMAP(rna.data, dims = 1:50)

Expand Down

0 comments on commit 871fbff

Please sign in to comment.