Description Usage Arguments Value Author(s) See Also Examples
This function selects the top genes in scRNA-seq data.
1 | SwarnTopTags(results, m)
|
results |
A output data frame from |
m |
A scalar representing the number of top performing genes to be selected from the scRNA-seq data. |
A list of the top genes along with their statistics.
Samarendra Das
SwarnSeqLRT
, for the detection of differentially expressed genes from scRNA-seq data.
TestData
, a test dataset for SwarnSeq.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #Load the test count data, spike-in counts and spike-in concentration data for SwarnSeq.
data(TestData)
counts <- TestData$CountData
Spikes <- TestData$SpikeCounts
SpikeConc <- TestData$SpikeConc
#specifying the group information, the group 1 and 2 have two hundred cells each.
group <- c(rep(1, 200), rep(2, 200))
#Specifying the cluster memberships of the cells in columns of countData.
cellcluster <- c(rep(1, 60), rep(2, 40), rep(3, 50),
rep(4, 50), rep(5, 30),
rep(6, 90),
rep(7, 80))
#results <- SwarnSeqLRT(CountData=counts, RNAspike.use=TRUE, spikes=Spikes, spike.conc=SpikeConc,
#parallel=FALSE, norm.method="TMM", group=group, CellCluster=cellcluster,
#CellAuxil=NULL, maxit=500, eps=1e-10,
#muoffset=NULL, phioffset=NULL, weights=NULL, p.adjust.method="hochberg")
#DEGtypes <- SwarnTopTags(results, m = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.