Title: | Install and Manage Seurat Datasets |
---|---|
Description: | Single cell RNA sequencing datasets can be large, consisting of matrices that contain expression data for several thousand features across several thousand cells. This package is designed to easily install, manage, and learn about various single-cell datasets, provided Seurat objects and distributed as independent packages. |
Authors: | Rahul Satija [aut] , Paul Hoffman [aut, cre] , Andrew Butler [aut] , Austin Hartman [ctb] , Yuhan Hao [ctb] , Gesmira Molla [ctb] |
Maintainer: | Paul Hoffman <[email protected]> |
License: | GPL-3 | file LICENSE |
Version: | 0.2.2.9001 |
Built: | 2024-11-08 06:05:15 UTC |
Source: | https://github.com/satijalab/seurat-data |
Get list of available datasets
AvailableData()
AvailableData()
A dataframe with available Seurat datasets. Rownames of the dataframe are the actual package names
Name of dataset, usable for other functions in SeuratData (eg. InstallData
)
Version of dataset, generally corresponds to version of Seurat dataset was built with
Is the dataset installed?
Version of dataset installed, NA
if not installed
Other columns are extra metadata, and may change as new datasets are made available
InstallData
InstalledData
RemoveData
UpdateData
AvailableData()
AvailableData()
Install a dataset
InstallData(ds, force.reinstall = FALSE, ...)
InstallData(ds, force.reinstall = FALSE, ...)
ds |
List of datasets to install |
force.reinstall |
Force reinstall already installed packages |
... |
Extra parameters passed to |
Invisible NULL
AvailableData
InstalledData
RemoveData
UpdateData
## Not run: InstallData('pbmc3k') ## End(Not run)
## Not run: InstallData('pbmc3k') ## End(Not run)
Get a list of installed datasets
InstalledData()
InstalledData()
A dataframe with installed Seurat datasets. Rownames of the dataframe are the actual package names
Name of dataset, usable for other functions in SeuratData (eg. InstallData
)
Version of dataset, generally corresponds to version of Seurat dataset was built with
Is the dataset installed?
Version of dataset installed
Other columns are extra metadata, and may change as new datasets are made available
AvailableData
InstallData
RemoveData
UpdateData
InstalledData()
InstalledData()
Modularly load a dataset
LoadData(ds, type = "default")
LoadData(ds, type = "default")
ds |
Optional name of dataset to load |
type |
How to load the |
A Seurat
object with the dataset asked for
Read in a reference Seurat
object and annoy index. This
function can read from a file path. In order to read properly,
there must be the following files:
“ref.Rds” for the downsampled reference Seurat
object (for mapping)
“idx.annoy” for the nearest-neighbor index object
LoadReference(path)
LoadReference(path)
path |
Pathto the two RDS files |
A list with two entries:
map
The downsampled reference Seurat
object (for mapping)
plot
The reference Seurat
object (for plotting)
Remove a dataset
RemoveData(ds, lib)
RemoveData(ds, lib)
ds |
List of datasets to remove |
lib |
a character vector giving the library directories to remove the
packages from. If missing, defaults to the first element in
|
AvailableData
InstallData
InstalledData
UpdateData
## Not run: RemoveData('pbmc3k') ## End(Not run)
## Not run: RemoveData('pbmc3k') ## End(Not run)
Update datasets
UpdateData(ask = TRUE, lib.loc = NULL)
UpdateData(ask = TRUE, lib.loc = NULL)
ask |
logical indicating whether to ask the user to select
packages before they are downloaded and installed, or the character
string |
lib.loc |
character vector describing the location of R
library trees to search through (and update packages therein), or
|
Invisible NULL
AvailableData
InstallData
InstalledData
RemoveData
## Not run: UpdateData(ask = FALSE) ## End(Not run)
## Not run: UpdateData(ask = FALSE) ## End(Not run)