Description Usage Arguments Value Examples
View source: R/species_mixing.R
Read DGE files created DigitalExpression from Drop-seq tools for a species mixing experiment. Creates data.frame containing merged DGE data for all cell barcodes present in both DGE files. For instructions on how to generate DGE files for species-mixing experiments, see the Drop-seq alignment cookbook provided by the [McCarroll lab](http://mccarrolllab.com/dropseq/).
1 2 | read_ms_dge_files(dge_files, species = c("SPECIES1", "SPECIES2"),
stringsAsFactors = default.stringsAsFactors())
|
dge_files |
Character vector specifying the paths to DigitalExpression output files for each species. Must be of length two as only species mixing experiments with two species are supported. |
species |
Character vector of length two providing the species names that should be used for creating output. |
stringsAsFactors |
Logical: should character vectors be converted to factors? Typically only applies to gene names. |
A data.frame containing DGE data on all cell barcodes found in DGE files of both species.
1 2 3 4 5 6 7 8 | ## Not run:
library(dropseqr)
# read two dge files and merge into one data.frame
infiles <- c("./human_dge.txt", "/mouse_dge.txt")
x <- read_ms_dge_files(infiles, species = c("human", "mouse"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.