CallT2Dpeak_qvalue | R Documentation |
This function is to run regression (linear/logistic) based on the number of PCs, and characteristics of samples.
CallT2Dpeak_qvalue(
cellvsPeak.m.aggr = ATAConCCA.betaT2D.tjct.3nd.10bin.ob$cellvsPeak.m.aggr,
depths = ATAConCCA.betaT2D.tjct.3nd.10bin.ob$depths,
index = ATAConCCA.betaT2D.tjct.3nd.10bin.ob$index,
qcut = 0.1,
slopecut1 = 0.5,
slopecut2 = -0.5,
doscale = T
)
cellvsPeak.m.aggr, |
gene~traj_bin counts matrix |
depths |
total fragments of cells within each traj_bin |
index |
avg pseudo-index of each bin |
qcut |
qvalue cutoff to measure the significance of glm(expr~index) |
slopecut1 |
UP slope cutoff, slope from glm(expr~index), UP genes |
slopecut2 |
DN slope cutoff, slope from glm(expr~index), DN genes |
doscale |
if build glm model based on scaled_expression and scaled pseudo-inddex |
The function return a list: "PCvariance", "PCanfpheno", "object.raw.withinfo", "model", "reg.plot.2d", "model.para"
betaT2D.diffGene.20bin.PCA <- CallT2Dpeak_qvalue(beta.RNA.PCA.20bin.ob$cellvsPeak.m.aggr, depths=beta.RNA.PCA.20bin.ob$depths, index=beta.RNA.PCA.20bin.ob$index, qcut=0.2,slopecut1=0.3,slopecut2=-0.3,doscale=T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.