Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set patterns manually (e.g cell type) #55

Open
shambam opened this issue Nov 25, 2020 · 4 comments
Open

Set patterns manually (e.g cell type) #55

shambam opened this issue Nov 25, 2020 · 4 comments

Comments

@shambam
Copy link

shambam commented Nov 25, 2020

Hi,
I have two data sets I wish to cross compare, but instead of learning N patterns from an experiment what I would like is to set the pattens manually ( say according to cell type) and generate coefficients etc to these.

It isn't entirely obvious to me how this is done (indeed if it can) so any pointers would be appreciated.

@jeanettejohnson
Copy link
Collaborator

Use the fixedPatterns parameter!

@LiuCanidk
Copy link

Hi,@jeanettejohnson
Could you please tell me where I can use the fixedPatterns parameter?

@jeanettejohnson
Copy link
Collaborator

jeanettejohnson commented Apr 3, 2024

@LiuCanidk,
Please use the setFixedPatterns function, like this:
params <- setFixedPatterns(params, fixedPatterns = fixedPMatrix, whichMatrixFixed = 'P')
or
params <- setFixedPatterns(params, fixedPatterns = fixedAMatrix, whichMatrixFixed = 'A')

@LiuCanidk
Copy link

@jeanettejohnson , thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants