Skip to content

Commit

Permalink
Change input data for trajectory analysis with Monocle as mentioned in
Browse files Browse the repository at this point in the history
  • Loading branch information
romanhaa committed Jun 17, 2020
1 parent 34f98c7 commit feb6f53
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 24 deletions.
8 changes: 4 additions & 4 deletions examples/GSE108041/Seurat_v3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,8 @@ monocle_all_cells <- newCellDataSet(
seurat@assays$RNA@data,
phenoData = new('AnnotatedDataFrame', data = seurat@meta.data),
featureData = new('AnnotatedDataFrame', data = data.frame(
gene_short_name = rownames(seurat@assays$RNA@data),
row.names = rownames(seurat@assays$RNA@data))
gene_short_name = rownames(seurat@assays$RNA@counts),
row.names = rownames(seurat@assays$RNA@counts))
)
)

Expand All @@ -302,8 +302,8 @@ monocle_subset_of_cells <- newCellDataSet(
seurat@assays$RNA@data[,G1_cells],
phenoData = new('AnnotatedDataFrame', data = seurat@meta.data[G1_cells,]),
featureData = new('AnnotatedDataFrame', data = data.frame(
gene_short_name = rownames(seurat@assays$RNA@data),
row.names = rownames(seurat@assays$RNA@data))
gene_short_name = rownames(seurat@assays$RNA@counts),
row.names = rownames(seurat@assays$RNA@counts))
)
)

Expand Down
8 changes: 4 additions & 4 deletions examples/GSE108041/scanpy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ monocle_all_cells <- newCellDataSet(
seurat@assays$RNA@data,
phenoData = new('AnnotatedDataFrame', data = seurat@meta.data),
featureData = new('AnnotatedDataFrame', data = data.frame(
gene_short_name = rownames(seurat@assays$RNA@data),
row.names = rownames(seurat@assays$RNA@data))
gene_short_name = rownames(seurat@assays$RNA@counts),
row.names = rownames(seurat@assays$RNA@counts))
)
)

Expand All @@ -378,8 +378,8 @@ monocle_subset_of_cells <- newCellDataSet(
seurat@assays$RNA@data[,G1_cells],
phenoData = new('AnnotatedDataFrame', data = seurat@meta.data[G1_cells,]),
featureData = new('AnnotatedDataFrame', data = data.frame(
gene_short_name = rownames(seurat@assays$RNA@data),
row.names = rownames(seurat@assays$RNA@data))
gene_short_name = rownames(seurat@assays$RNA@counts),
row.names = rownames(seurat@assays$RNA@counts))
)
)

Expand Down
8 changes: 4 additions & 4 deletions examples/GSE129845/Seurat_v3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,8 @@ monocle_all_cells <- newCellDataSet(
seurat@assays$RNA@data,
phenoData = new('AnnotatedDataFrame', data = seurat@meta.data),
featureData = new('AnnotatedDataFrame', data = data.frame(
gene_short_name = rownames(seurat@assays$RNA@data),
row.names = rownames(seurat@assays$RNA@data))
gene_short_name = rownames(seurat@assays$RNA@counts),
row.names = rownames(seurat@assays$RNA@counts))
)
)

Expand All @@ -366,8 +366,8 @@ monocle_subset_of_cells <- newCellDataSet(
seurat@assays$RNA@data[,G1_cells],
phenoData = new('AnnotatedDataFrame', data = seurat@meta.data[G1_cells,]),
featureData = new('AnnotatedDataFrame', data = data.frame(
gene_short_name = rownames(seurat@assays$RNA@data),
row.names = rownames(seurat@assays$RNA@data))
gene_short_name = rownames(seurat@assays$RNA@counts),
row.names = rownames(seurat@assays$RNA@counts))
)
)

Expand Down
8 changes: 4 additions & 4 deletions examples/pbmc_10k_v3/Seurat_v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ monocle_all_cells <- newCellDataSet(
seurat@data,
phenoData = new('AnnotatedDataFrame', data = seurat@meta.data),
featureData = new('AnnotatedDataFrame', data = data.frame(
gene_short_name = rownames(seurat@data),
row.names = rownames(seurat@data))
gene_short_name = rownames(seurat@counts),
row.names = rownames(seurat@counts))
)
)

Expand All @@ -311,8 +311,8 @@ monocle_subset_of_cells <- newCellDataSet(
seurat@data[,G1_cells],
phenoData = new('AnnotatedDataFrame', data = seurat@meta.data[G1_cells,]),
featureData = new('AnnotatedDataFrame', data = data.frame(
gene_short_name = rownames(seurat@data),
row.names = rownames(seurat@data))
gene_short_name = rownames(seurat@counts),
row.names = rownames(seurat@counts))
)
)

Expand Down
8 changes: 4 additions & 4 deletions examples/pbmc_10k_v3/Seurat_v3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ monocle_all_cells <- newCellDataSet(
seurat@assays$RNA@data,
phenoData = new('AnnotatedDataFrame', data = seurat@meta.data),
featureData = new('AnnotatedDataFrame', data = data.frame(
gene_short_name = rownames(seurat@assays$RNA@data),
row.names = rownames(seurat@assays$RNA@data))
gene_short_name = rownames(seurat@assays$RNA@counts),
row.names = rownames(seurat@assays$RNA@counts))
)
)

Expand All @@ -258,8 +258,8 @@ monocle_subset_of_cells <- newCellDataSet(
seurat@assays$RNA@data[,G1_cells],
phenoData = new('AnnotatedDataFrame', data = seurat@meta.data[G1_cells,]),
featureData = new('AnnotatedDataFrame', data = data.frame(
gene_short_name = rownames(seurat@assays$RNA@data),
row.names = rownames(seurat@assays$RNA@data))
gene_short_name = rownames(seurat@assays$RNA@counts),
row.names = rownames(seurat@assays$RNA@counts))
)
)

Expand Down
8 changes: 4 additions & 4 deletions examples/pbmc_10k_v3/scanpy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,8 @@ monocle_all_cells <- newCellDataSet(
seurat@assays$RNA@data,
phenoData = new('AnnotatedDataFrame', data = seurat@meta.data),
featureData = new('AnnotatedDataFrame', data = data.frame(
gene_short_name = rownames(seurat@assays$RNA@data),
row.names = rownames(seurat@assays$RNA@data))
gene_short_name = rownames(seurat@assays$RNA@counts),
row.names = rownames(seurat@assays$RNA@counts))
)
)

Expand All @@ -346,8 +346,8 @@ monocle_subset_of_cells <- newCellDataSet(
seurat@assays$RNA@data[,G1_cells],
phenoData = new('AnnotatedDataFrame', data = seurat@meta.data[G1_cells,]),
featureData = new('AnnotatedDataFrame', data = data.frame(
gene_short_name = rownames(seurat@assays$RNA@data),
row.names = rownames(seurat@assays$RNA@data))
gene_short_name = rownames(seurat@assays$RNA@counts),
row.names = rownames(seurat@assays$RNA@counts))
)
)

Expand Down

0 comments on commit feb6f53

Please sign in to comment.